From 2364f5cb43fa7c14f95304c432b6e215e158c224 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Feb 2019 13:02:02 +0200 Subject: Add support for building with build2 --- odb/boost/details/config.hxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'odb/boost/details/config.hxx') 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 +#elif !defined(LIBODB_BOOST_BUILD2) +# ifdef _MSC_VER +# include +# else +# include +# endif #endif // no post -- cgit v1.1