diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-02-18 13:02:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-02-18 13:02:02 +0200 |
commit | 2364f5cb43fa7c14f95304c432b6e215e158c224 (patch) | |
tree | 23fba2b96e71cc436035219cb1c03df6fa064eca /odb/boost/details/config.hxx | |
parent | ff450b1336c1fc741693d51ed16754311aaa1783 (diff) |
Add support for building with build2
Diffstat (limited to 'odb/boost/details/config.hxx')
-rw-r--r-- | odb/boost/details/config.hxx | 11 |
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 |