diff options
Diffstat (limited to 'odb/sqlite/details/export.hxx')
-rw-r--r-- | odb/sqlite/details/export.hxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/odb/sqlite/details/export.hxx b/odb/sqlite/details/export.hxx index 3d838e7..c0903ae 100644 --- a/odb/sqlite/details/export.hxx +++ b/odb/sqlite/details/export.hxx @@ -1,5 +1,4 @@ // file : odb/sqlite/details/export.hxx -// copyright : Copyright (c) 2005-2019 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_SQLITE_DETAILS_EXPORT_HXX @@ -7,7 +6,15 @@ #include <odb/pre.hxx> -#include <odb/sqlite/details/config.hxx> +#ifdef ODB_COMPILER +# error libodb-sqlite header included in odb-compiled header +#elif !defined(LIBODB_SQLITE_BUILD2) +# ifdef _MSC_VER +# include <odb/sqlite/details/config-vc.h> +# else +# include <odb/sqlite/details/config.h> +# endif +#endif // Normally we don't export class templates (but do complete specializations), // inline functions, and classes with only inline member functions. Exporting |