aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/details/config.hxx
diff options
context:
space:
mode:
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