Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
f4c38014
Commit
f4c38014
authored
Feb 20, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Move __builtin_ms_va_list definitions to vadefs.h.
parent
297f7cb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
corecrt.h
include/msvcrt/corecrt.h
+0
-12
vadefs.h
include/msvcrt/vadefs.h
+9
-1
No files found.
include/msvcrt/corecrt.h
View file @
f4c38014
...
...
@@ -122,18 +122,6 @@
# endif
#endif
#if (defined(__x86_64__) || (defined(__aarch64__) && __has_attribute(ms_abi))) && defined (__GNUC__)
# include <stdarg.h>
# undef va_list
# undef va_start
# undef va_end
# undef va_copy
# define va_list __builtin_ms_va_list
# define va_start(list,arg) __builtin_ms_va_start(list,arg)
# define va_end(list) __builtin_ms_va_end(list)
# define va_copy(dest,src) __builtin_ms_va_copy(dest,src)
#endif
#ifndef WINAPIV
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(__MINGW32__) && !defined(__CYGWIN__)
# define WINAPIV __attribute__((pcs("aapcs")))
...
...
include/msvcrt/vadefs.h
View file @
f4c38014
...
...
@@ -27,7 +27,15 @@
#define _ADDRESSOF(v) (&(v))
#endif
#if defined(__GNUC__) || defined(__clang__)
#if defined (__GNUC__) && (defined(__x86_64__) || (defined(__aarch64__) && __has_attribute(ms_abi)))
typedef
__builtin_ms_va_list
va_list
;
#define _crt_va_start(v,l) __builtin_ms_va_start(v,l)
#define _crt_va_arg(v,l) __builtin_va_arg(v,l)
#define _crt_va_end(v) __builtin_ms_va_end(v)
#define _crt_va_copy(d,s) __builtin_ms_va_copy(d,s)
#elif defined(__GNUC__) || defined(__clang__)
typedef
__builtin_va_list
va_list
;
#define _crt_va_start(v,l) __builtin_va_start(v,l)
...
...
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