mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-09-22 10:43:39 -04:00
compiler.h: fix bad typedef in case of HAVE__BOOL
Fix stray # mark in typedef _Bool bool. What compiler has _Bool and not <stdbool.h>? Weird... Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
committed by
H. Peter Anvin (Intel)
parent
d73b10abd5
commit
63cacad271
@@ -168,7 +168,7 @@ char *strrchrnul(const char *, int);
|
|||||||
# ifdef HAVE_STDBOOL_H
|
# ifdef HAVE_STDBOOL_H
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
# elif defined(HAVE__BOOL)
|
# elif defined(HAVE__BOOL)
|
||||||
# typedef _Bool bool
|
typedef _Bool bool;
|
||||||
# define false 0
|
# define false 0
|
||||||
# define true 1
|
# define true 1
|
||||||
# else
|
# else
|
||||||
|
Reference in New Issue
Block a user