diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-22 08:05:36 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-11-22 08:05:36 +0300 |
commit | 1b4032c74e36dfdbb2ba0063796dd7c2b924babd (patch) | |
tree | a700448990cea256eedec4d59b8b510ca03b8291 /mysql/mysql_version.h | |
parent | b1471ebbe9db90c472ff356bea6a7c8aedb45db9 (diff) |
Explore possibility of supporting mingwmingw
Diffstat (limited to 'mysql/mysql_version.h')
-rw-r--r-- | mysql/mysql_version.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql/mysql_version.h b/mysql/mysql_version.h index 45fe511..2f64ee6 100644 --- a/mysql/mysql_version.h +++ b/mysql/mysql_version.h @@ -5,3 +5,12 @@ */ #include <mysql/version.h> + +/* + * Cancel the __stdcall calling convention for MinGW when compile for 32 bits + * architecture (see libmariadb%mysql/ma_config.h for details). + */ +#if defined(__MINGW32__) && !defined(_WIN64) +# undef STDCALL +# define STDCALL +#endif |