diff options
author | Richard Henderson <rth@gcc.gnu.org> | 1999-12-18 20:43:20 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-12-18 20:43:20 -0800 |
commit | e05eb7616897fce02c5e04ccfb66bd6db102a1df (patch) | |
tree | 110f13c77f6674cc97a3a9f0523870730925bbe9 /gcc/ginclude/stdarg.h | |
parent | 09fe1c496d81c3732f3bb99664e770255ffc0cc7 (diff) | |
download | gcc-e05eb7616897fce02c5e04ccfb66bd6db102a1df.tar.gz |
cccp.c (main): Define __STDC_VERSION__ as necessary.
* cccp.c (main): Define __STDC_VERSION__ as necessary.
* cppinit.c (cpp_handle_option): Likewise.
* ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
determine when to define.
From-SVN: r31022
Diffstat (limited to 'gcc/ginclude/stdarg.h')
-rw-r--r-- | gcc/ginclude/stdarg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index c74c80d392b..2464599c1b5 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -54,7 +54,7 @@ typedef __builtin_va_list __gnuc_va_list; #define va_start(v,l) __builtin_stdarg_start(&(v),l) #define va_end __builtin_va_end #define va_arg __builtin_va_arg -#if defined(__STRICT_ANSI__) && __STRICT_ANSI__ + 0 < 199900 +#if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L #define va_copy(d,s) __builtin_va_copy(&(d),(s)) #endif #define __va_copy(d,s) __builtin_va_copy(&(d),(s)) |