aboutsummaryrefslogtreecommitdiff
path: root/mysql/mariadb_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'mysql/mariadb_version.h')
-rw-r--r--mysql/mariadb_version.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql/mariadb_version.h b/mysql/mariadb_version.h
new file mode 100644
index 0000000..71a5d1d
--- /dev/null
+++ b/mysql/mariadb_version.h
@@ -0,0 +1,16 @@
+/*
+ * file : mysql/mariadb_version.h
+ * copyright : Copyright (c) 2009-2017 Code Synthesis Tools CC
+ * license : LGPLv2.1; see accompanying COPYING file
+ */
+
+#include <mysql/version.h>
+
+/*
+ * Cancel the API functions __stdcall calling convention for MinGW when
+ * building 32 bits targets (see mysql/ma_config.h for details).
+ */
+#if defined(__MINGW32__) && !defined(_WIN64)
+# undef STDCALL
+# define STDCALL
+#endif