aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:24:50 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-07-23 21:24:50 +0200
commit9e3e20356837c6634f15bc0f8de7c75b097bcc64 (patch)
treeec511f1ede19efad5a183e59481db23033ef8aaa
parentdc64a7a55f0018053f1360d5240d34b6fec003f6 (diff)
Do not include config.h for Visual Studio
-rw-r--r--odb/pgsql/details/config.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/odb/pgsql/details/config.hxx b/odb/pgsql/details/config.hxx
index bc89fbb..e3fffdb 100644
--- a/odb/pgsql/details/config.hxx
+++ b/odb/pgsql/details/config.hxx
@@ -8,7 +8,8 @@
// no pre
-#if defined(ODB_COMPILER)
+#ifdef _MSC_VER
+#elif defined(ODB_COMPILER)
# error libodb-pgsql header included in odb-compiled header
#else
# include <odb/pgsql/details/config.h>