include: Don't use floating point for WINAPI functions when building for soft-float on ARM.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-12-08 12:43:19 +01:00
parent 364e04ce0c
commit 5c50ec0c74
2 changed files with 6 additions and 6 deletions

View File

@ -60,7 +60,7 @@
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# else /* __i386__ */
# define __stdcall
@ -80,7 +80,7 @@
# else
# define __cdecl __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define __cdecl __attribute__((pcs("aapcs-vfp")))
# elif !defined(_MSC_VER)
# define __cdecl
@ -106,7 +106,7 @@
#endif
#ifndef WINAPIV
# if defined(__arm__) && defined (__GNUC__)
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define WINAPIV __attribute__((pcs("aapcs")))
# else
# define WINAPIV __cdecl

View File

@ -69,7 +69,7 @@ extern "C" {
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# else /* __i386__ */
# define __stdcall
@ -89,7 +89,7 @@ extern "C" {
# else
# define __cdecl __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define __cdecl __attribute__((pcs("aapcs-vfp")))
# elif !defined(_MSC_VER)
# define __cdecl
@ -114,7 +114,7 @@ extern "C" {
# endif
#endif
#if defined(__arm__) && defined (__GNUC__)
#if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
# define WINAPIV __attribute__((pcs("aapcs")))
#else
# define WINAPIV __cdecl