diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-27 19:05:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-27 19:05:58 -0700 |
| commit | 7ae6c2f33bf90147c5e2da558e633e40588e76bd (patch) | |
| tree | 3546110fce85ed0bc8f410ff1c8ea03800d5883c /c_headers | |
| parent | d1ac1abd34318273b746763a1ce5f3055bba541c (diff) | |
| download | zig-7ae6c2f33bf90147c5e2da558e633e40588e76bd.tar.gz zig-7ae6c2f33bf90147c5e2da558e633e40588e76bd.zip | |
fix stdio duplicately defining va_list
Diffstat (limited to 'c_headers')
| -rw-r--r-- | c_headers/stdarg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c_headers/stdarg.h b/c_headers/stdarg.h index a57e183648..0f8a9be88e 100644 --- a/c_headers/stdarg.h +++ b/c_headers/stdarg.h @@ -49,4 +49,8 @@ typedef __builtin_va_list va_list; #endif typedef __builtin_va_list __gnuc_va_list; +/* zig: added because glibc stdio.h was duplicately defining va_list + */ +#define _VA_LIST_DEFINED + #endif /* __STDARG_H */ |
