Files
main/hardware/emulator/wine/files/wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch
T
Ergün Salman 5202a6d409 gcc 5.3
2016-07-07 15:51:00 +03:00

21 lines
847 B
Diff

--- 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))