diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-25 18:52:59 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-25 18:52:59 +0300 |
commit | 3a160a80c788d81e48acf19a2cf68f29cf125dae (patch) | |
tree | 8bf000b3ae959d56367c15aa214a95d24b096905 /libodb-mysql/odb/mysql/mysql.hxx | |
parent | 35bdfb3e3604527f36f046928324346e8b37b46b (diff) |
Turn libodb-mysql repository into package for muti-package repositorylibodb-mysql
Diffstat (limited to 'libodb-mysql/odb/mysql/mysql.hxx')
-rw-r--r-- | libodb-mysql/odb/mysql/mysql.hxx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libodb-mysql/odb/mysql/mysql.hxx b/libodb-mysql/odb/mysql/mysql.hxx new file mode 100644 index 0000000..38fdd62 --- /dev/null +++ b/libodb-mysql/odb/mysql/mysql.hxx @@ -0,0 +1,31 @@ +// file : odb/mysql/mysql.hxx +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_MYSQL_MYSQL_HXX +#define ODB_MYSQL_MYSQL_HXX + +#include <odb/mysql/details/config.hxx> + +#include <odb/mysql/mysql-types.hxx> + +#ifdef _WIN32 +# ifndef NOMINMAX // No min and max macros. +# define NOMINMAX +# include <winsock2.h> +# undef NOMINMAX +# else +# include <winsock2.h> +# endif +#endif + +#ifdef LIBODB_MYSQL_INCLUDE_SHORT +# include <mysql.h> +# include <errmsg.h> +# include <mysqld_error.h> +#else +# include <mysql/mysql.h> +# include <mysql/errmsg.h> +# include <mysql/mysqld_error.h> +#endif + +#endif // ODB_MYSQL_MYSQL_HXX |