From 2556bd74c8aa881b4ece6023891dc213184c47fd Mon Sep 17 00:00:00 2001 From: "George G. Vega Yon" Date: Mon, 25 Sep 2023 12:06:11 -0600 Subject: [PATCH] Adding user interrupt for wwindows --- src/Makevars.win | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Makevars.win b/src/Makevars.win index b80b8c2..2ec37b2 100644 --- a/src/Makevars.win +++ b/src/Makevars.win @@ -2,7 +2,8 @@ PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) # This is necesary since ARMADILLO now supports OpenMP PKG_CXXFLAGS=$(SHLIB_OPENMP_CXXFLAGS) -I../inst/include/ \ - $(DEFM_CONFIG) -Dprintf_barry=Rprintf + $(DEFM_CONFIG) -Dprintf_barry=Rprintf \ + -DBARRY_USER_INTERRUPT="Rcpp::checkUserInterrupt();" # For testing #PKG_CXXFLAGS=-Wall