diff options
author | Paul Robinson <paul.robinson@sony.com> | 2017-01-23 19:09:21 +0000 |
---|---|---|
committer | Paul Robinson <paul.robinson@sony.com> | 2017-01-23 19:09:21 +0000 |
commit | 13f97ca3bc80be3a2fd58793fd95fe8e12557786 (patch) | |
tree | f9cb67403750570f25af32087ade510432408ef8 /lib/Headers | |
parent | 425765b62654059a8c7ca3b6c33468df1a3390dd (diff) |
Guard __gnuc_va_list typedef.
Differential Revision: http://reviews.llvm.org/D28620
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers')
-rw-r--r-- | lib/Headers/stdarg.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Headers/stdarg.h b/lib/Headers/stdarg.h index a57e183648..101426fff1 100644 --- a/lib/Headers/stdarg.h +++ b/lib/Headers/stdarg.h @@ -43,10 +43,9 @@ 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; +#endif #endif /* __STDARG_H */ |