diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-09 18:17:47 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-06-18 14:50:25 +0300 |
commit | bb67f32b2d92a5a7daea1d170ada978941948b66 (patch) | |
tree | 7794ab51a1842cd1485437624cfe2205594899c2 /odb/mssql/details/config.hxx | |
parent | ac98675021881fc82489f7490b2b38036c5ca50a (diff) |
Add support for build2 build
Diffstat (limited to 'odb/mssql/details/config.hxx')
-rw-r--r-- | odb/mssql/details/config.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/odb/mssql/details/config.hxx b/odb/mssql/details/config.hxx index 65b9652..b3ab3db 100644 --- a/odb/mssql/details/config.hxx +++ b/odb/mssql/details/config.hxx @@ -7,11 +7,14 @@ // no pre -#ifdef _MSC_VER -#elif defined(ODB_COMPILER) +#ifdef ODB_COMPILER # error libodb-mssql header included in odb-compiled header -#else -# include <odb/mssql/details/config.h> +#elif !defined(LIBODB_MSSQL_BUILD2) +# ifdef _MSC_VER +# include <odb/mssql/details/config-vc.h> +# else +# include <odb/mssql/details/config.h> +# endif #endif // no post |