From: Jeff Law Date: Fri, 9 Jun 1995 19:40:00 +0000 (+0000) Subject: * bfd-in.h (bfd_true, bfd_false): Define these to true and false X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f28686c2bc3d2c0bd09283e7aa27c887ddb187e;p=binutils-gdb.git * 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35ab78641f6..162bb7f955d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -4,6 +4,10 @@ Fri Jun 9 12:20:28 1995 Steve Chamberlain 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 30b643fd915..bdc4ed0f390 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 351edfaa0c1..42146ce5fbe 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