diff options
Diffstat (limited to 'lib/Headers/stdarg.h')
-rw-r--r-- | lib/Headers/stdarg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Headers/stdarg.h b/lib/Headers/stdarg.h index c36ab12..2957bf0 100644 --- a/lib/Headers/stdarg.h +++ b/lib/Headers/stdarg.h @@ -39,7 +39,7 @@ typedef __builtin_va_list va_list; */ #define __va_copy(d,s) __builtin_va_copy(d,s) -#if __STDC_VERSION__ >= 199900L || !defined(__STRICT_ANSI__) +#if __STDC_VERSION__ >= 199900L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__) #define va_copy(dest, src) __builtin_va_copy(dest, src) #endif |