aboutsummaryrefslogtreecommitdiff
path: root/odb/details
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:20:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:20:19 +0200
commit15cd227d73b492b4992d9cea6d26015449f59c93 (patch)
tree4665257339f76af8aaa3f617b2622ca2df2264aa /odb/details
parent0e2ae18a97fd507bac872031888d34c3a7d8b17b (diff)
Generate config.h
Diffstat (limited to 'odb/details')
-rw-r--r--odb/details/config.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/odb/details/config.hxx b/odb/details/config.hxx
index c5b97df..8237d88 100644
--- a/odb/details/config.hxx
+++ b/odb/details/config.hxx
@@ -10,12 +10,11 @@
#ifdef _MSC_VER
# include <odb/details/config-vc.h>
+#elif defined(ODB_COMPILER)
+# define ODB_THREADS_NONE
+# define LIBODB_STATIC_LIB
#else
-# ifdef HAVE_CONFIG_H
-# include <odb/details/config.h>
-# else
-# define ODB_THREADS_POSIX
-# endif
+# include <odb/details/config.h>
#endif
// no post