Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-02-14 15:10:25 +0300
committerDJ Delorie <dj@redhat.com>2005-02-14 15:10:25 +0300
commitdc1d3ff6a0726a9946464e8502e7cbb41af629f2 (patch)
treee1a341a2b5e42a7607a67d2b53d133256fc2b6d5 /include/ansidecl.h
parent264f41f081816b2e2f80b5a0c7e1da79cda194bb (diff)
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 04c3a30bb..2eeccf203 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)