aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/details/config.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/details/config.hxx b/odb/details/config.hxx
index b8690cc..0b80bad 100644
--- a/odb/details/config.hxx
+++ b/odb/details/config.hxx
@@ -14,7 +14,7 @@
# define LIBODB_STATIC_LIB
# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
# define ODB_CXX11
-# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
+# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4
# define ODB_CXX11_NULLPTR
# endif
# define ODB_CXX11_DELETED_FUNCTION
@@ -28,7 +28,7 @@
# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
# define ODB_CXX11
# ifdef __GNUC__
-# if __GNUC__ >= 4 && __GNUC_MINOR__ >= 6
+# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4
# define ODB_CXX11_NULLPTR
# endif
# else