wine-1.9.3-gcc-5_3_0-disable-force-alignment.patch 847 B

123456789101112131415161718192021
  1. --- a/include/windef.h 2016-02-09 05:17:54.925574387 +0000
  2. +++ b/include/windef.h 2016-02-09 12:40:25.231866622 +0000
  3. @@ -64,7 +64,7 @@
  4. # error You need to define __stdcall for your compiler
  5. # endif
  6. # elif defined(__x86_64__) && defined (__GNUC__)
  7. -# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3))
  8. +# if (__GNUC__ > 5)
  9. # define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__))
  10. # else
  11. # define __stdcall __attribute__((ms_abi))
  12. @@ -82,7 +82,7 @@
  13. # define __cdecl __attribute__((__cdecl__))
  14. # endif
  15. # elif defined(__x86_64__) && defined (__GNUC__)
  16. -# if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3))
  17. +# if (__GNUC__ > 5)
  18. # define __cdecl __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__))
  19. # else
  20. # define __cdecl __attribute__((ms_abi))