aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/details/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-18 13:02:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-18 13:02:02 +0200
commit2364f5cb43fa7c14f95304c432b6e215e158c224 (patch)
tree23fba2b96e71cc436035219cb1c03df6fa064eca /odb/boost/details/config.hxx
parentff450b1336c1fc741693d51ed16754311aaa1783 (diff)
Add support for building with build2
Diffstat (limited to 'odb/boost/details/config.hxx')
-rw-r--r--odb/boost/details/config.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/odb/boost/details/config.hxx b/odb/boost/details/config.hxx
index bc9db32..a637f44 100644
--- a/odb/boost/details/config.hxx
+++ b/odb/boost/details/config.hxx
@@ -7,11 +7,14 @@
// no pre
-#ifdef _MSC_VER
-#elif defined(ODB_COMPILER)
+#ifdef ODB_COMPILER
# define LIBODB_BOOST_STATIC_LIB
-#else
-# include <odb/boost/details/config.h>
+#elif !defined(LIBODB_BOOST_BUILD2)
+# ifdef _MSC_VER
+# include <odb/boost/details/config-vc.h>
+# else
+# include <odb/boost/details/config.h>
+# endif
#endif
// no post