aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:22:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-06 14:22:05 +0200
commit918b670c281d6c481a898184c3d9699ed641fd1e (patch)
tree3fab64718ef54282fceb695d2ad184cf716d883e
parent7e8e8aba7cc49bd26393c8f2cb07d99df9fec8dd (diff)
Add mysql.h inclusion wrapper
-rw-r--r--odb/mysql/mysql.hxx22
1 files changed, 22 insertions, 0 deletions
diff --git a/odb/mysql/mysql.hxx b/odb/mysql/mysql.hxx
new file mode 100644
index 0000000..2988870
--- /dev/null
+++ b/odb/mysql/mysql.hxx
@@ -0,0 +1,22 @@
+/* file : odb/mysql/mysql.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_HXX
+#define ODB_MYSQL_MYSQL_HXX
+
+#include <odb/mysql/details/config.hxx>
+
+#ifdef _WIN32
+# include <winsock2.h>
+#endif
+
+#ifdef LIBODB_MYSQL_INCLUDE_SHORT
+# include <mysql.h>
+#else
+# include <mysql/mysql.h>
+#endif
+
+#endif // ODB_MYSQL_MYSQL_HXX