aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/details/config.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-06 23:35:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-18 14:28:42 +0300
commit369fe1eba31f3e7a6f5424002eae88bfcb280efa (patch)
tree8ed97a28d17953ef956199d7f6c7cb5c7c9459cf /odb/oracle/details/config.hxx
parente3c608545cedcd5202abb155bb94d17f7174451b (diff)
Add support for build2 build
Diffstat (limited to 'odb/oracle/details/config.hxx')
-rw-r--r--odb/oracle/details/config.hxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/odb/oracle/details/config.hxx b/odb/oracle/details/config.hxx
index 47e17d5..444f0f4 100644
--- a/odb/oracle/details/config.hxx
+++ b/odb/oracle/details/config.hxx
@@ -7,11 +7,14 @@
// no pre
-#ifdef _MSC_VER
-#elif defined(ODB_COMPILER)
+#ifdef ODB_COMPILER
# error libodb-oracle header included in odb-compiled header
-#else
-# include <odb/oracle/details/config.h>
+#elif !defined(LIBODB_ORACLE_BUILD2)
+# ifdef _MSC_VER
+# include <odb/oracle/details/config-vc.h>
+# else
+# include <odb/oracle/details/config.h>
+# endif
#endif
// no post