aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/version.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/mysql/version.hxx')
-rw-r--r--odb/mysql/version.hxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/odb/mysql/version.hxx b/odb/mysql/version.hxx
index 1abbb6c..3ea6fcd 100644
--- a/odb/mysql/version.hxx
+++ b/odb/mysql/version.hxx
@@ -6,7 +6,15 @@
#ifndef ODB_MYSQL_VERSION_HXX
#define ODB_MYSQL_VERSION_HXX
-#include <mysql/mysql_version.h>
+#include <odb/pre.hxx>
+
+#include <odb/mysql/details/config.hxx>
+
+#ifdef LIBODB_MYSQL_INCLUDE_SHORT
+# include <mysql_version.h>
+#else
+# include <mysql/mysql_version.h>
+#endif
#include <odb/version.hxx>
@@ -45,4 +53,6 @@
#define LIBODB_MYSQL_VERSION 999901
#define LIBODB_MYSQL_VERSION_STR "1.0.0.a1"
+#include <odb/post.hxx>
+
#endif // ODB_MYSQL_VERSION_HXX