From 2ce1b689c40e1fed002c960f1fbbee5058ed1627 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 14 Aug 2016 11:29:59 +0200 Subject: Minor config file restructuring in preparation for build2 support --- odb/pgsql/details/config.hxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'odb/pgsql/details/config.hxx') diff --git a/odb/pgsql/details/config.hxx b/odb/pgsql/details/config.hxx index 6ab242e..a270afe 100644 --- a/odb/pgsql/details/config.hxx +++ b/odb/pgsql/details/config.hxx @@ -7,11 +7,14 @@ // no pre -#ifdef _MSC_VER -#elif defined(ODB_COMPILER) +#ifdef ODB_COMPILER # error libodb-pgsql header included in odb-compiled header -#else -# include +#elif !defined(LIBODB_PGSQL_BUILD2) +# ifdef _MSC_VER +# include +# else +# include +# endif #endif // no post -- cgit v1.1