From: Alan Modra Date: Wed, 31 Mar 2021 12:29:25 +0000 (+1030) Subject: PR27671, Poisoning TRUE / FALSE poisons Win32 system headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65c5fbd4fdecd96c91f43edc673e1e14f37c5cbd;p=binutils-gdb.git PR27671, Poisoning TRUE / FALSE poisons Win32 system headers PR 27671 * bfd-in.h: Don't poison FALSE or TRUE. * bfd-in2.h: Regenerate. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9a9152609da..e12c559c137 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2021-03-31 Alan Modra + + PR 27671 + * bfd-in.h: Don't poison FALSE or TRUE. + * bfd-in2.h: Regenerate. + 2021-03-31 Alan Modra * sysdep.h: POISON_BFD_BOOLEAN: Define. diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 6f72cc4539b..1fbccca4161 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -120,7 +120,7 @@ typedef struct bfd bfd; success and FALSE on failure (unless they're a predicate). */ #ifdef POISON_BFD_BOOLEAN -# pragma GCC poison bfd_boolean FALSE TRUE +# pragma GCC poison bfd_boolean #else # define bfd_boolean bool # undef FALSE diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 40d35a1a439..2b431dacece 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -127,7 +127,7 @@ typedef struct bfd bfd; success and FALSE on failure (unless they're a predicate). */ #ifdef POISON_BFD_BOOLEAN -# pragma GCC poison bfd_boolean FALSE TRUE +# pragma GCC poison bfd_boolean #else # define bfd_boolean bool # undef FALSE