History

Avoid conflicting definition for va_list on 64-bit Macs

David Mertens committed 10 years ago

Commit 0a402f61 parent 41349941 file · +3 −0Browse files

Showing the changes to include (1 of 1 file). Show all

Unified · Split

include/stdarg.h+3−0
@@ -27,6 +27,9 @@ void *__va_arg(__va_list_struct *ap, int arg_type, int size, int align); · 26 unmodified lines
27#define va_copy(dest, src) (*(dest) = *(src))27#define va_copy(dest, src) (*(dest) = *(src))
28#define va_end(ap)28#define va_end(ap)
29 29
30/* avoid conflicting definition for va_list on Macs. */
31#define _VA_LIST_T
32
30#else /* _WIN64 */33#else /* _WIN64 */
31typedef char *va_list;34typedef char *va_list;
32#define va_start(ap,last) __builtin_va_start(ap,last)35#define va_start(ap,last) __builtin_va_start(ap,last)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t