gcc 5.3
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- a/include/windef.h 2016-02-09 05:17:54.925574387 +0000
|
||||
+++ b/include/windef.h 2016-02-09 12:40:25.231866622 +0000
|
||||
@@ -64,7 +64,7 @@
|
||||
# error You need to define __stdcall for your compiler
|
||||
# endif
|
||||
# elif defined(__x86_64__) && defined (__GNUC__)
|
||||
-# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3))
|
||||
+# if (__GNUC__ > 5)
|
||||
# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__))
|
||||
# else
|
||||
# define __stdcall __attribute__((ms_abi))
|
||||
@@ -82,7 +82,7 @@
|
||||
# define __cdecl __attribute__((__cdecl__))
|
||||
# endif
|
||||
# elif defined(__x86_64__) && defined (__GNUC__)
|
||||
-# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3))
|
||||
+# if (__GNUC__ > 5)
|
||||
# define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__))
|
||||
# else
|
||||
# define __cdecl __attribute__((ms_abi))
|
||||
Reference in New Issue
Block a user