aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-30 13:20:44 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-30 13:20:44 +0300
commite741bb844c8aa65d104af6e9ef59511e4132bb6f (patch)
tree317933dce9c240c8379825e6fb0cc62ffb922fc7
parent941d2fb8c5939d8af112bd73fd18cb3a593b87cf (diff)
Sanitize version substitutions
-rw-r--r--odb/mysql/version-build2.hxx.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/odb/mysql/version-build2.hxx.in b/odb/mysql/version-build2.hxx.in
index d659f55..bbd057e 100644
--- a/odb/mysql/version-build2.hxx.in
+++ b/odb/mysql/version-build2.hxx.in
@@ -24,18 +24,18 @@
// 3.0.0-b.2 0029999995020
// 2.2.0-a.1.z 0020019990011
//
-#define LIBODB_MYSQL_VERSION $libodb-mysql.version.project_number$ULL
-#define LIBODB_MYSQL_VERSION_STR "$libodb-mysql.version.project$"
-#define LIBODB_MYSQL_VERSION_ID "$libodb-mysql.version.project_id$"
+#define LIBODB_MYSQL_VERSION $libodb_mysql.version.project_number$ULL
+#define LIBODB_MYSQL_VERSION_STR "$libodb_mysql.version.project$"
+#define LIBODB_MYSQL_VERSION_ID "$libodb_mysql.version.project_id$"
-#define LIBODB_MYSQL_VERSION_MAJOR $libodb-mysql.version.major$
-#define LIBODB_MYSQL_VERSION_MINOR $libodb-mysql.version.minor$
-#define LIBODB_MYSQL_VERSION_PATCH $libodb-mysql.version.patch$
+#define LIBODB_MYSQL_VERSION_MAJOR $libodb_mysql.version.major$
+#define LIBODB_MYSQL_VERSION_MINOR $libodb_mysql.version.minor$
+#define LIBODB_MYSQL_VERSION_PATCH $libodb_mysql.version.patch$
-#define LIBODB_MYSQL_PRE_RELEASE $libodb-mysql.version.pre_release$
+#define LIBODB_MYSQL_PRE_RELEASE $libodb_mysql.version.pre_release$
-#define LIBODB_MYSQL_SNAPSHOT $libodb-mysql.version.snapshot_sn$ULL
-#define LIBODB_MYSQL_SNAPSHOT_ID "$libodb-mysql.version.snapshot_id$"
+#define LIBODB_MYSQL_SNAPSHOT $libodb_mysql.version.snapshot_sn$ULL
+#define LIBODB_MYSQL_SNAPSHOT_ID "$libodb_mysql.version.snapshot_id$"
#ifdef LIBODB_MYSQL_MARIADB
# include <mysql/mariadb_version.h>