aboutsummaryrefslogtreecommitdiff
path: root/c_headers/stdarg.h
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-30 18:20:12 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-30 18:20:55 -0400
commitcd58b400110586bb0d0632dce0f667efbc3dbd88 (patch)
treefa0b6571c6c8fbfb8337e1fce54e63fad93f25b3 /c_headers/stdarg.h
parentba3d21ca67af0ce47841bc2d0258903ccaf89a75 (diff)
downloadzig-cd58b400110586bb0d0632dce0f667efbc3dbd88.tar.gz
zig-cd58b400110586bb0d0632dce0f667efbc3dbd88.zip
update C headers to clang 5.0.0
Diffstat (limited to 'c_headers/stdarg.h')
-rw-r--r--c_headers/stdarg.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/c_headers/stdarg.h b/c_headers/stdarg.h
index 0f8a9be88e..f6635105e0 100644
--- a/c_headers/stdarg.h
+++ b/c_headers/stdarg.h
@@ -43,14 +43,12 @@ typedef __builtin_va_list va_list;
#define va_copy(dest, src) __builtin_va_copy(dest, src)
#endif
-/* Hack required to make standard headers work, at least on Ubuntu */
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST 1
-#endif
typedef __builtin_va_list __gnuc_va_list;
-
/* zig: added because glibc stdio.h was duplicately defining va_list
*/
#define _VA_LIST_DEFINED
+#endif
#endif /* __STDARG_H */