diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-19 04:43:20 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-19 04:43:20 +0000 |
commit | 3757a85a390a0395ea191e8f36a5a701a89695f0 (patch) | |
tree | 110f13c77f6674cc97a3a9f0523870730925bbe9 /gcc/ginclude | |
parent | d6cc9868b1b20e7ca0fed4b1b533863df3780c6d (diff) | |
download | ppe42-gcc-3757a85a390a0395ea191e8f36a5a701a89695f0.tar.gz ppe42-gcc-3757a85a390a0395ea191e8f36a5a701a89695f0.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31022 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-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)) |