aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/config.hxx')
-rw-r--r--odb/details/config.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/details/config.hxx b/odb/details/config.hxx
index fc47ec7..36a8e3a 100644
--- a/odb/details/config.hxx
+++ b/odb/details/config.hxx
@@ -23,7 +23,8 @@
# endif
#else
# include <odb/details/config.h>
-# ifdef ODB_CXX11
+# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
+# define ODB_CXX11
# ifdef __GNUC__
# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
# define ODB_CXX_NULLPTR