mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:05:40 +00:00
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:
parent
364e04ce0c
commit
5c50ec0c74
|
@ -60,7 +60,7 @@
|
||||||
# else
|
# else
|
||||||
# define __stdcall __attribute__((ms_abi))
|
# define __stdcall __attribute__((ms_abi))
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__arm__) && defined (__GNUC__)
|
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define __stdcall __attribute__((pcs("aapcs-vfp")))
|
# define __stdcall __attribute__((pcs("aapcs-vfp")))
|
||||||
# else /* __i386__ */
|
# else /* __i386__ */
|
||||||
# define __stdcall
|
# define __stdcall
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
# else
|
# else
|
||||||
# define __cdecl __attribute__((ms_abi))
|
# define __cdecl __attribute__((ms_abi))
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__arm__) && defined (__GNUC__)
|
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define __cdecl __attribute__((pcs("aapcs-vfp")))
|
# define __cdecl __attribute__((pcs("aapcs-vfp")))
|
||||||
# elif !defined(_MSC_VER)
|
# elif !defined(_MSC_VER)
|
||||||
# define __cdecl
|
# define __cdecl
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef WINAPIV
|
#ifndef WINAPIV
|
||||||
# if defined(__arm__) && defined (__GNUC__)
|
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define WINAPIV __attribute__((pcs("aapcs")))
|
# define WINAPIV __attribute__((pcs("aapcs")))
|
||||||
# else
|
# else
|
||||||
# define WINAPIV __cdecl
|
# define WINAPIV __cdecl
|
||||||
|
|
|
@ -69,7 +69,7 @@ extern "C" {
|
||||||
# else
|
# else
|
||||||
# define __stdcall __attribute__((ms_abi))
|
# define __stdcall __attribute__((ms_abi))
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__arm__) && defined (__GNUC__)
|
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define __stdcall __attribute__((pcs("aapcs-vfp")))
|
# define __stdcall __attribute__((pcs("aapcs-vfp")))
|
||||||
# else /* __i386__ */
|
# else /* __i386__ */
|
||||||
# define __stdcall
|
# define __stdcall
|
||||||
|
@ -89,7 +89,7 @@ extern "C" {
|
||||||
# else
|
# else
|
||||||
# define __cdecl __attribute__((ms_abi))
|
# define __cdecl __attribute__((ms_abi))
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__arm__) && defined (__GNUC__)
|
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define __cdecl __attribute__((pcs("aapcs-vfp")))
|
# define __cdecl __attribute__((pcs("aapcs-vfp")))
|
||||||
# elif !defined(_MSC_VER)
|
# elif !defined(_MSC_VER)
|
||||||
# define __cdecl
|
# define __cdecl
|
||||||
|
@ -114,7 +114,7 @@ extern "C" {
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__arm__) && defined (__GNUC__)
|
#if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__)
|
||||||
# define WINAPIV __attribute__((pcs("aapcs")))
|
# define WINAPIV __attribute__((pcs("aapcs")))
|
||||||
#else
|
#else
|
||||||
# define WINAPIV __cdecl
|
# define WINAPIV __cdecl
|
||||||
|
|
Loading…
Reference in a new issue