aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-02-28 12:38:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-02-28 12:38:15 +0200
commit3012187847b2783c49153db3f5486b84074cb2b0 (patch)
tree8d3b63fbea88f2cb530dc6f8121577856b4f37b8 /odb/details/config.hxx
parent3c13e8cd7a1b0bf7490b172b48424a91b126c650 (diff)
Build infrastructure for C++11 support
Diffstat (limited to 'odb/details/config.hxx')
-rw-r--r--odb/details/config.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/details/config.hxx b/odb/details/config.hxx
index 1d7c2d9..ad0ec27 100644
--- a/odb/details/config.hxx
+++ b/odb/details/config.hxx
@@ -12,6 +12,9 @@
#elif defined(ODB_COMPILER)
# define ODB_THREADS_NONE
# define LIBODB_STATIC_LIB
+# if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
+# define ODB_CXX11
+# endif
#else
# include <odb/details/config.h>
#endif