summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ptype.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/ptype.c')
-rw-r--r--gdb/testsuite/gdb.base/ptype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ptype.c b/gdb/testsuite/gdb.base/ptype.c
index 07d6afe5d91..7b8ca24cda8 100644
--- a/gdb/testsuite/gdb.base/ptype.c
+++ b/gdb/testsuite/gdb.base/ptype.c
@@ -212,6 +212,8 @@ enum colors {yellow, purple, pink} nonprimary;
enum {chevy, ford} clunker;
enum cars {bmw, porsche} sportscar;
+#undef FALSE
+#undef TRUE
typedef enum {FALSE, TRUE} boolean;
boolean v_boolean;
/*note: aCC has bool type predefined with 'false' and 'true'*/