From 1b4032c74e36dfdbb2ba0063796dd7c2b924babd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Nov 2017 08:05:36 +0300 Subject: Explore possibility of supporting mingw --- mysql/mysql_version.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mysql/mysql_version.h') 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 + +/* + * 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 -- cgit v1.1