aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/version.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:51:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:51:23 +0200
commit1692b3e82521e7d73a908f532eced90491e1eded (patch)
treec45272faba67485f3702395f43282a81a981cf5f /odb/mysql/version.hxx
parent4452be925b749572f0e3edcb21e9af818647eb55 (diff)
Support for automake and VC++ builds
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