Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45199 Signed-off-by: Zebediah Figura z.figura12@gmail.com --- include/windef.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/windef.h b/include/windef.h index 8e8a08a..42c13d6 100644 --- a/include/windef.h +++ b/include/windef.h @@ -54,9 +54,9 @@ extern "C" { # ifdef __i386__ # ifdef __GNUC__ # if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__) -# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) +# define __stdcall DECLSPEC_HOTPATCH __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) # else -# define __stdcall __attribute__((__stdcall__)) +# define __stdcall DECLSPEC_HOTPATCH __attribute__((__stdcall__)) # endif # elif defined(_MSC_VER) /* Nothing needs to be done. __stdcall already exists */ @@ -65,9 +65,9 @@ extern "C" { # endif # elif defined(__x86_64__) && defined (__GNUC__) # if (__GNUC__ > 5) || ((__GNUC__ == 5) && (__GNUC_MINOR__ >= 3)) -# define __stdcall __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) +# define __stdcall DECLSPEC_HOTPATCH __attribute__((ms_abi)) __attribute__((__force_align_arg_pointer__)) # else -# define __stdcall __attribute__((ms_abi)) +# define __stdcall DECLSPEC_HOTPATCH __attribute__((ms_abi)) # endif # elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) # define __stdcall __attribute__((pcs("aapcs-vfp")))