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/mysql-types.hxx | |
parent | ab48e8593260239b432f2e03c9b69a2e83211a77 (diff) |
Rework MySQL header inclusion
Diffstat (limited to 'odb/mysql/mysql-types.hxx')
-rw-r--r-- | odb/mysql/mysql-types.hxx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/odb/mysql/mysql-types.hxx b/odb/mysql/mysql-types.hxx new file mode 100644 index 0000000..620904f --- /dev/null +++ b/odb/mysql/mysql-types.hxx @@ -0,0 +1,19 @@ +// file : odb/mysql/mysql-types.hxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : Copyright (c) 2005-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_MYSQL_MYSQL_TYPES_HXX +#define ODB_MYSQL_MYSQL_TYPES_HXX + +#include <odb/mysql/details/config.hxx> + +typedef char my_bool; + +#ifdef LIBODB_MYSQL_INCLUDE_SHORT +# include <mysql_time.h> +#else +# include <mysql/mysql_time.h> +#endif + +#endif // ODB_MYSQL_MYSQL_TYPES_HXX |