mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:39:43 +00:00
include: Check whether the ms_abi attribute is supported on aarch64.
Updated to maintain sync with dac1e16dd4
.
Signed-off-by: Kevin Puetz <PuetzKevinA@JohnDeere.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9cbe273558
commit
849e521dba
|
@ -157,7 +157,7 @@ extern int __cdecl __wine_dbg_header( enum __wine_debug_class cls, struct __wine
|
|||
quotes. The string will be valid for some time, but not indefinitely
|
||||
as strings are re-used. */
|
||||
|
||||
#if (defined(__x86_64__) || defined(__aarch64__)) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
|
||||
#if (defined(__x86_64__) || (defined(__aarch64__) && __has_attribute(ms_abi))) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
|
||||
# define __wine_dbg_cdecl __cdecl
|
||||
# define __wine_dbg_va_list __builtin_ms_va_list
|
||||
# define __wine_dbg_va_start(list,arg) __builtin_ms_va_start(list,arg)
|
||||
|
|
|
@ -78,7 +78,7 @@ extern void winetest_wait_child_process( HANDLE process );
|
|||
#define START_TEST(name) void func_##name(void)
|
||||
#endif
|
||||
|
||||
#if (defined(__x86_64__) || defined(__aarch64__)) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
|
||||
#if (defined(__x86_64__) || (defined(__aarch64__) && __has_attribute(ms_abi))) && defined(__GNUC__) && defined(__WINE_USE_MSVCRT)
|
||||
#define __winetest_cdecl __cdecl
|
||||
#define __winetest_va_list __builtin_ms_va_list
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue