summaryrefslogtreecommitdiff
path: root/include/ansidecl.h
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-02-14 12:10:25 +0000
committerDJ Delorie <dj@delorie.com>2005-02-14 12:10:25 +0000
commit48389c4808a5aa008b7fb14c848964b79012c14a (patch)
treefdbb4061aa03538adb77ead5287fd6d0295fbaad /include/ansidecl.h
parentdeda04f1acca8e4290a3eacbfafbd0c478db14ea (diff)
downloadgdb-48389c4808a5aa008b7fb14c848964b79012c14a.tar.gz
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 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)