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
62173699
Commit
62173699
authored
May 30, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Don't align the stack for PE builds.
parent
d0d472bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
20 deletions
+12
-20
corecrt.h
include/msvcrt/corecrt.h
+3
-6
windef.h
include/windef.h
+9
-14
No files found.
include/msvcrt/corecrt.h
View file @
62173699
...
...
@@ -82,7 +82,7 @@
#define __has_attribute(x) 0
#endif
#if
ndef _MSC_VER
#if
!defined(_MSC_VER) && !defined(__MINGW32__)
# undef __stdcall
# ifdef __i386__
# ifdef __GNUC__
...
...
@@ -100,16 +100,13 @@
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__
MINGW32__) && !defined(__
CYGWIN__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__CYGWIN__)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# elif defined(__aarch64__) && defined (__GNUC__) && __has_attribute(ms_abi)
# define __stdcall __attribute__((ms_abi))
# else
/* __i386__ */
# define __stdcall
# endif
/* __i386__ */
#endif
/* __stdcall */
#ifndef _MSC_VER
# undef __cdecl
# if defined(__i386__) && defined(__GNUC__)
# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__)
...
...
@@ -120,7 +117,7 @@
# else
# define __cdecl __stdcall
# endif
#endif
#endif
/* _MSC_VER || __MINGW32__ */
#ifndef WINAPIV
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__MINGW32__) && !defined(__CYGWIN__)
...
...
include/windef.h
View file @
62173699
...
...
@@ -54,7 +54,7 @@ extern "C" {
# endif
#endif
#if
ndef _MSC_VER
#if
!defined(_MSC_VER) && !defined(__MINGW32__)
# undef __stdcall
# ifdef __i386__
# ifdef __GNUC__
...
...
@@ -72,16 +72,13 @@ extern "C" {
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__
MINGW32__) && !defined(__
CYGWIN__)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__CYGWIN__)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# elif defined(__aarch64__) && defined (__GNUC__) && __has_attribute(ms_abi)
# define __stdcall __attribute__((ms_abi))
# else
/* __i386__ */
# define __stdcall
# endif
/* __i386__ */
#endif
/* __stdcall */
#ifndef _MSC_VER
# undef __cdecl
# if defined(__i386__) && defined(__GNUC__)
# if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 2)) || defined(__APPLE__)
...
...
@@ -92,15 +89,13 @@ extern "C" {
# else
# define __cdecl __stdcall
# endif
#endif
#if !defined(_MSC_VER) && !defined(__fastcall)
# define __fastcall __stdcall
#endif
#if (!defined(_MSC_VER) || !defined(__clang__)) && !defined(__thiscall)
# define __thiscall __stdcall
#endif
# ifndef __fastcall
# define __fastcall __stdcall
# endif
# ifndef __thiscall
# define __thiscall __stdcall
# endif
#endif
/* _MSC_VER || __MINGW32__ */
#ifndef __ms_va_list
# if (defined(__x86_64__) || (defined(__aarch64__) && __has_attribute(ms_abi))) && defined (__GNUC__)
...
...
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