summaryrefslogtreecommitdiff
path: root/odb/mssql/details/config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-09 18:17:47 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-18 14:50:25 +0300
commitbb67f32b2d92a5a7daea1d170ada978941948b66 (patch)
tree7794ab51a1842cd1485437624cfe2205594899c2 /odb/mssql/details/config.hxx
parentac98675021881fc82489f7490b2b38036c5ca50a (diff)
Add support for build2 build
Diffstat (limited to 'odb/mssql/details/config.hxx')
-rw-r--r--odb/mssql/details/config.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/odb/mssql/details/config.hxx b/odb/mssql/details/config.hxx
index 65b9652..b3ab3db 100644
--- a/odb/mssql/details/config.hxx
+++ b/odb/mssql/details/config.hxx
@@ -7,11 +7,14 @@
// no pre
-#ifdef _MSC_VER
-#elif defined(ODB_COMPILER)
+#ifdef ODB_COMPILER
# error libodb-mssql header included in odb-compiled header
-#else
-# include <odb/mssql/details/config.h>
+#elif !defined(LIBODB_MSSQL_BUILD2)
+# ifdef _MSC_VER
+# include <odb/mssql/details/config-vc.h>
+# else
+# include <odb/mssql/details/config.h>
+# endif
#endif
// no post