aboutsummaryrefslogtreecommitdiff
path: root/include/ansidecl.h
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-02-14 08:52:24 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-02-14 08:52:24 +0000
commitbe0f1e5478e1aba8e8231e6f42d60b096ba2726a (patch)
tree051695b6217a00738df88eb4f5452b7d4833bd75 /include/ansidecl.h
parent623049aa3c72118db18bed0c09a2bd88c3ef4664 (diff)
downloadgcc-be0f1e5478e1aba8e8231e6f42d60b096ba2726a.zip
gcc-be0f1e5478e1aba8e8231e6f42d60b096ba2726a.tar.gz
gcc-be0f1e5478e1aba8e8231e6f42d60b096ba2726a.tar.bz2
re PR bootstrap/19818 (GCC 4.0 cannot bootstrap itself)
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. From-SVN: r95003
Diffstat (limited to 'include/ansidecl.h')
-rw-r--r--include/ansidecl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ansidecl.h b/include/ansidecl.h
index 04c3a30..2eeccf2 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)