From 15cd227d73b492b4992d9cea6d26015449f59c93 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 Sep 2010 14:20:19 +0200 Subject: Generate config.h --- odb/details/config.hxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'odb/details') 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 +#elif defined(ODB_COMPILER) +# define ODB_THREADS_NONE +# define LIBODB_STATIC_LIB #else -# ifdef HAVE_CONFIG_H -# include -# else -# define ODB_THREADS_POSIX -# endif +# include #endif // no post -- cgit v1.1