aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-06-09 19:40:00 +0000
committerJeff Law <law@redhat.com>1995-06-09 19:40:00 +0000
commit9f28686c2bc3d2c0bd09283e7aa27c887ddb187e (patch)
treeb16934deb2524147b98e91d25ba2286672ff9b09
parentd1ec549d7b021c9c1612f3bae4bf5478d3fed56c (diff)
downloadgdb-9f28686c2bc3d2c0bd09283e7aa27c887ddb187e.zip
gdb-9f28686c2bc3d2c0bd09283e7aa27c887ddb187e.tar.gz
gdb-9f28686c2bc3d2c0bd09283e7aa27c887ddb187e.tar.bz2
* bfd-in.h (bfd_true, bfd_false): Define these to true and false
if TRUE_FALSE_ALREADY_DEFINED is not defined. * bfd-in2.h: Rebuilt.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/bfd-in.h2
-rw-r--r--bfd/bfd-in2.h2
3 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 35ab786..162bb7f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -4,6 +4,10 @@ Fri Jun 9 12:20:28 1995 Steve Chamberlain <sac@rtl.cygnus.com>
Fri Jun 9 12:49:00 1995 Jeff Law (law@snake.cs.utah.edu)
+ * bfd-in.h (bfd_true, bfd_false): Define these to true and false
+ if TRUE_FALSE_ALREADY_DEFINED is not defined.
+ * bfd-in2.h: Rebuilt.
+
* bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
compiling with g++-2.6 or later.
(bfd_set_section_vma): Use bfd_true and bfd_false rather than
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 30b643f..bdc4ed0 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -89,6 +89,8 @@ typedef struct _bfd bfd;
#ifndef TRUE_FALSE_ALREADY_DEFINED
typedef enum bfd_boolean {false, true} boolean;
#define BFD_TRUE_FALSE
+#define bfd_false false
+#define bfd_true true
#else
typedef enum bfd_boolean {bfd_false, bfd_true} boolean;
#endif
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 351edfa..42146ce 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -89,6 +89,8 @@ typedef struct _bfd bfd;
#ifndef TRUE_FALSE_ALREADY_DEFINED
typedef enum bfd_boolean {false, true} boolean;
#define BFD_TRUE_FALSE
+#define bfd_false false
+#define bfd_true true
#else
typedef enum bfd_boolean {bfd_false, bfd_true} boolean;
#endif