aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2012-09-12 12:34:21 +0000
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2012-09-12 12:34:21 +0000
commitde21f14f3ee4d175c08c44a42a974709b0473129 (patch)
treeaba6d8794821f5beb40a67731fed958c8a9ac3a1 /gcc/system.h
parent792d2d99bea078c79acb69eff1213c8728255177 (diff)
Fix Solaris 9/x86 bootstrap
* rtl.h (FFS, FLOAT, ABS, PC): Don't undef. * system.h (FFS, FLOAT, ABS, PC): Undef. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@191217 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 48c9c894e34..ed36bae3e3b 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -638,6 +638,11 @@ extern int vsnprintf(char *, size_t, const char *, va_list);
/* Get libiberty declarations. */
#include "libiberty.h"
+#undef FFS /* Some systems predefine this symbol; don't let it interfere. */
+#undef FLOAT /* Likewise. */
+#undef ABS /* Likewise. */
+#undef PC /* Likewise. */
+
/* Provide a default for the HOST_BIT_BUCKET.
This suffices for POSIX-like hosts. */