aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-01-29 17:07:57 +0000
committerDaniel Jacobowitz <drow@false.org>2002-01-29 17:07:57 +0000
commit246fcdee135040fbfbe8dd38bc09fa3b6832b1ed (patch)
tree43cabbd5d961cb03419a5568afbe375465e2906a /gas/config
parenta0e9c55fc17424a8f6ef6fca7d90aa47d6341c47 (diff)
downloadgdb-246fcdee135040fbfbe8dd38bc09fa3b6832b1ed.zip
gdb-246fcdee135040fbfbe8dd38bc09fa3b6832b1ed.tar.gz
gdb-246fcdee135040fbfbe8dd38bc09fa3b6832b1ed.tar.bz2
2002-01-29 Daniel Jacobowitz <drow@mvista.com>
* config/tc-i386.c: Protect definitions of true and false from redefinition.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index c81f870..650621f 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -48,8 +48,12 @@
#define SCALE1_WHEN_NO_INDEX 1
#endif
+#ifndef true
#define true 1
+#endif
+#ifndef false
#define false 0
+#endif
static unsigned int mode_from_disp_size PARAMS ((unsigned int));
static int fits_in_signed_byte PARAMS ((offsetT));