aboutsummaryrefslogtreecommitdiff
path: root/odb/details/config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/details/config.hxx')
-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