Skip to content

Commit 4e86908

Browse files
committed
Update compiler.h
1 parent 67b60cc commit 4e86908

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/include/Rcpp/platform/compiler.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
#endif
5959
#endif
6060

61+
// Check for the presence of C++0x (or later) support
62+
#if defined(__GXX_EXPERIMENTAL_CXX0X__) || (__cplusplus >= 201103L)
63+
#define RCPP_USING_CXX0X_OR_LATER
64+
#endif
65+
6166
// Check C++0x/11 features
6267
#if defined(__INTEL_COMPILER)
6368
#if __cplusplus >= 201103L

0 commit comments

Comments
 (0)