summaryrefslogtreecommitdiffstats
path: root/gcc/system.h
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-18 00:45:03 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-18 00:45:03 +0000
commitba0bcb99f5d223c26c8661aa95e8f1e7305e69d7 (patch)
treeb54872bcbdf0139669475e42b8846ed417b91167 /gcc/system.h
parent30a10861aa529bd9d86cf3c7a22b11a8df756078 (diff)
downloadppe42-gcc-ba0bcb99f5d223c26c8661aa95e8f1e7305e69d7.tar.gz
ppe42-gcc-ba0bcb99f5d223c26c8661aa95e8f1e7305e69d7.zip
* system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these libiberty macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index c8f38fb8034..3214f7aa2dd 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -627,6 +627,17 @@ typedef char _Bool;
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
LANG_HOOKS_MARK_TREE
+/* Libiberty macros that are no longer used in GCC. */
+#undef ANSI_PROTOTYPES
+#undef PTR_CONST
+#undef LONG_DOUBLE
+#undef VPARAMS
+#undef VA_OPEN
+#undef VA_FIXEDARG
+#undef VA_CLOSE
+#undef VA_START
+ #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \
+ VA_FIXEDARG VA_CLOSE VA_START
#endif /* IN_GCC */
/* Note: not all uses of the `index' token (e.g. variable names and
OpenPOWER on IntegriCloud