mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
include: Force stack alignment on i386.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f2697b0eba
commit
d3c59c1a01
@ -168,8 +168,12 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
|
|||||||
# ifdef __x86_64__
|
# ifdef __x86_64__
|
||||||
# define __stdcall __attribute__((ms_abi))
|
# define __stdcall __attribute__((ms_abi))
|
||||||
# else
|
# else
|
||||||
|
# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__)
|
||||||
|
# define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))
|
||||||
|
# else
|
||||||
# define __stdcall __attribute__((__stdcall__))
|
# define __stdcall __attribute__((__stdcall__))
|
||||||
# endif
|
# endif
|
||||||
|
# endif
|
||||||
|
|
||||||
# define WINAPI __stdcall
|
# define WINAPI __stdcall
|
||||||
# define STDMETHODCALLTYPE __stdcall
|
# define STDMETHODCALLTYPE __stdcall
|
||||||
|
Loading…
Reference in New Issue
Block a user