summaryrefslogtreecommitdiff
path: root/binutils/sysdep.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-03-31 10:39:37 +1030
committerAlan Modra <amodra@gmail.com>2021-03-31 10:49:23 +1030
commit015dc7e1f8a971692a910e6cfc64faf9216e75c3 (patch)
tree53f0eb6489d86f4a6b734115c79c4e131af5416c /binutils/sysdep.h
parent78933a4ad9ae9c2e274d41e6b3036ea582c47810 (diff)
downloadbinutils-gdb-015dc7e1f8a971692a910e6cfc64faf9216e75c3.tar.gz
Use bool in binutils
* sysdep.h (POISON_BFD_BOOLEAN): Define. * addr2line.c, * ar.c, * arsup.c, * bfdtest2.c, * binemul.c, * binemul.h, * bucomm.c, * bucomm.h, * budbg.h, * coffgrok.c, * debug.c, * debug.h, * dlltool.c, * dwarf.c, * dwarf.h, * elfedit.c, * emul_aix.c, * mclex.c, * nm.c, * objcopy.c, * objdump.c, * od-macho.c, * prdbg.c, * rdcoff.c, * rddbg.c, * readelf.c, * rename.c, * stabs.c, * strings.c, * windint.h, * windmc.c, * windmc.h, * windres.c, * winduni.c, * wrstabs.c: Replace bfd_boolean with bool, FALSE with false, and TRUE with true throughout.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r--binutils/sysdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h
index 183bb016538..981ec025fc7 100644
--- a/binutils/sysdep.h
+++ b/binutils/sysdep.h
@@ -201,4 +201,6 @@ size_t strnlen (const char *, size_t);
#define HOST_WIDEST_INT long
#endif
+#define POISON_BFD_BOOLEAN 1
+
#endif /* _BIN_SYSDEP_H */