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@gcc.gnu.org>2012-09-12 12:34:21 +0000
commit9081064aee40a33c99629176d54d1c7653b18faa (patch)
treeaba6d8794821f5beb40a67731fed958c8a9ac3a1 /gcc/system.h
parent0f042bc539c208195f4eb5dad273fa207f790b3d (diff)
downloadgcc-9081064aee40a33c99629176d54d1c7653b18faa.zip
gcc-9081064aee40a33c99629176d54d1c7653b18faa.tar.gz
gcc-9081064aee40a33c99629176d54d1c7653b18faa.tar.bz2
Fix Solaris 9/x86 bootstrap
* rtl.h (FFS, FLOAT, ABS, PC): Don't undef. * system.h (FFS, FLOAT, ABS, PC): Undef. From-SVN: r191217
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 48c9c89..ed36bae 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. */