aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-05-05 23:24:57 +0000
committerKen Raeburn <raeburn@cygnus>1994-05-05 23:24:57 +0000
commitd20d64bb5312bb4d95f3eaaab29490d32d6b8a85 (patch)
tree137687444ad442e30c730c70f01ec2b812880d32 /gprof
parent8afeb6eef00c20ebe3eadddbe37d78308592cae5 (diff)
downloadgdb-d20d64bb5312bb4d95f3eaaab29490d32d6b8a85.zip
gdb-d20d64bb5312bb4d95f3eaaab29490d32d6b8a85.tar.gz
gdb-d20d64bb5312bb4d95f3eaaab29490d32d6b8a85.tar.bz2
(TRUE, FALSE): Always use undef before defining them.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/gprof.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gprof/gprof.h b/gprof/gprof.h
index c1b91ad..0d8a549 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -51,7 +51,12 @@ char *whoami;
* booleans
*/
typedef int bool;
+/* These may already be defined on some systems. We could probably just
+ use the BFD versions of these, since BFD has already dealt with this
+ problem. */
+#undef FALSE
#define FALSE 0
+#undef TRUE
#define TRUE 1
/*