Skip to content

Commit 1bfbd5c

Browse files
committed
_OPENMP instead of SUPPORT_OPENMP
1 parent e71513c commit 1bfbd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/Rcpp-FAQ.Rnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ There are currently two distinct versions of R for OS X. The first version is a
472472
The OS X operating environment lacks the ability to parallelize sections of code using the \href{http://openmp.org/wp/}{OpenMP} standard. As a result, make sure to protect any parallelized sections of code with:
473473

474474
<<osx_openmp, engine="Rcpp", eval = F>>=
475-
#ifdef SUPPORT_OPENMP
475+
#ifdef _OPENMP
476476
// multithreaded OpenMP version of code
477477
#else
478478
// single-threaded version of code

0 commit comments

Comments
 (0)