diff options
author | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-14 08:52:24 +0000 |
---|---|---|
committer | bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-14 08:52:24 +0000 |
commit | bb30d1f4b425d77cdca39914443b3de84ed22f00 (patch) | |
tree | 051695b6217a00738df88eb4f5452b7d4833bd75 /include/ansidecl.h | |
parent | b3e5216b04faa3147644b55dfc9268d801dc9906 (diff) | |
download | ppe42-gcc-bb30d1f4b425d77cdca39914443b3de84ed22f00.tar.gz ppe42-gcc-bb30d1f4b425d77cdca39914443b3de84ed22f00.zip |
include:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* ansidecl.h (PARAMS): Guard from redefinition.
libcpp:
2005-02-08 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/19818
* configure.ac: Check for declaration of basename and getopt.
* config.in: Regenerate.
* configure: Regenerate.
* internal.h (ustrcspn): New.
* macro.c (create_iso_definition): Fix allocation of memory.
(padding_token): Add cast to remove const-ness.
* pch.c (cpp_read_state): Use ustrcspn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r-- | include/ansidecl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h index 04c3a30bb53..2eeccf20351 100644 --- a/include/ansidecl.h +++ b/include/ansidecl.h @@ -149,7 +149,12 @@ So instead we use the macro below and test it against specific values. */ #define PTRCONST void *const #define LONG_DOUBLE long double +/* PARAMS is often defined elsewhere (e.g. by libintl.h), so wrap it in + a #ifndef. */ +#ifndef PARAMS #define PARAMS(ARGS) ARGS +#endif + #define VPARAMS(ARGS) ARGS #define VA_START(VA_LIST, VAR) va_start(VA_LIST, VAR) |