Skip to content

Commit

Permalink
Adding user interrupt for wwindows
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Sep 25, 2023
1 parent 1071aae commit 2556bd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2556bd7

Please sign in to comment.