blob: 09f8ecf0134028af648ba35f72f4e7b26a0064bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// file : odb/mysql/mysql.hxx
// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// 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
|