diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-03 16:21:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-03 16:21:31 +0200 |
commit | 7e8e8aba7cc49bd26393c8f2cb07d99df9fec8dd (patch) | |
tree | cbbef7278026edf6ee1d9d93c9ef3df2e50bd001 /odb/mysql/details/config.hxx | |
parent | ab9911fc1ed97bcfcb013c202c610a950609f979 (diff) |
Add support for MinGW build
Diffstat (limited to 'odb/mysql/details/config.hxx')
-rw-r--r-- | odb/mysql/details/config.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/odb/mysql/details/config.hxx b/odb/mysql/details/config.hxx index f8418c6..957f623 100644 --- a/odb/mysql/details/config.hxx +++ b/odb/mysql/details/config.hxx @@ -8,9 +8,15 @@ // no pre -#ifndef LIBODB_MYSQL_INCLUDE_SHORT +#ifdef HAVE_CONFIG_H +# include <odb/mysql/details/config.h> +#endif + +#if !defined(LIBODB_MYSQL_INCLUDE_SHORT) && !defined (LIBODB_MYSQL_INCLUDE_LONG) #ifdef _WIN32 #define LIBODB_MYSQL_INCLUDE_SHORT 1 + #else + #define LIBODB_MYSQL_INCLUDE_LONG 1 #endif #endif |