Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5c50ec0c
Commit
5c50ec0c
authored
Dec 08, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Don't use floating point for WINAPI functions when building for soft-float on ARM.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
364e04ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
crtdefs.h
include/msvcrt/crtdefs.h
+3
-3
windef.h
include/windef.h
+3
-3
No files found.
include/msvcrt/crtdefs.h
View file @
5c50ec0c
...
...
@@ -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
...
...
include/windef.h
View file @
5c50ec0c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment