aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/mysql.hxx
blob: aca688f4fd3a8452f1928820e6c29f90783c1c5b (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-2018 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