diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:31:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-09 09:31:53 +0200 |
commit | d3a1c61c2c10d952c7a186d367b42a1ea1b3e946 (patch) | |
tree | e41a4f37d10715843aee1a0ac724960ab0b5ebe8 /odb/mysql/connection-factory.cxx | |
parent | ab48e8593260239b432f2e03c9b69a2e83211a77 (diff) |
Rework MySQL header inclusion
Diffstat (limited to 'odb/mysql/connection-factory.cxx')
-rw-r--r-- | odb/mysql/connection-factory.cxx | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/odb/mysql/connection-factory.cxx b/odb/mysql/connection-factory.cxx index 2bfd566..41ff2fd 100644 --- a/odb/mysql/connection-factory.cxx +++ b/odb/mysql/connection-factory.cxx @@ -3,20 +3,7 @@ // copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file -#include <odb/mysql/details/config.hxx> - -#ifdef _WIN32 -# include <winsock2.h> -#endif - -#ifdef LIBODB_MYSQL_INCLUDE_SHORT -# include <mysql.h> -# include <errmsg.h> // CR_UNKNOWN_ERROR -#else -# include <mysql/mysql.h> -# include <mysql/errmsg.h> -#endif - +#include <odb/mysql/mysql.hxx> #include <odb/mysql/connection-factory.hxx> #include <odb/mysql/exceptions.hxx> |