aboutsummaryrefslogtreecommitdiff
path: root/include/ansidecl.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-02-14 12:10:25 +0000
committerDJ Delorie <dj@redhat.com>2005-02-14 12:10:25 +0000
commit8adce22da6e4805b565e6519d112e93f2a09814c (patch)
treeb9569f0f22c00b6a041c2e347ae01fe65722cd20 /include/ansidecl.h
parentb59a68e117f1cacec46d4f74533f8d3e4036b635 (diff)
downloadgdb-8adce22da6e4805b565e6519d112e93f2a09814c.zip
gdb-8adce22da6e4805b565e6519d112e93f2a09814c.tar.gz
gdb-8adce22da6e4805b565e6519d112e93f2a09814c.tar.bz2
merge from gcc
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)