Use the compiler-provided booleans if available, otherwise emulate
commit6867acc18ee541e361a5fa1e5a1bac3a478a3856
authorH. Peter Anvin <hpa@zytor.com>
Wed, 10 Oct 2007 21:58:45 +0000 (10 14:58 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 10 Oct 2007 21:58:45 +0000 (10 14:58 -0700)
treeb13b49a2e8227469c3eb7cb983e4b2bb27868466
parentbe1b83d24aee03d29913957fdba40cf7a268e660
Use the compiler-provided booleans if available, otherwise emulate

Both C and C++ have "bool", "true" and "false" in lower case; C
requires <stdbool.h> for this, in C++ it is an inherent type built
into the compiler.  Use those instead of the old macros; emulate with
a simple typedef enum if unavailable.
25 files changed:
assemble.c
compiler.h
configure.in
disasm.c
eval.c
exprlib.c
float.c
labels.c
listing.c
nasm.c
nasm.h
nasmlib.c
nasmlib.h
ndisasm.c
output/outaout.c
output/outas86.c
output/outcoff.c
output/outelf32.c
output/outelf64.c
output/outieee.c
output/outobj.c
parser.c
preproc.c
rdoff/rdlar.c
stdscan.c