0
0
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:
Ozkan Sezer
2019-08-09 23:50:20 +03:00
committed by H. Peter Anvin (Intel)
parent d73b10abd5
commit 63cacad271

View File

@@ -168,7 +168,7 @@ char *strrchrnul(const char *, int);
# ifdef HAVE_STDBOOL_H
# include <stdbool.h>
# elif defined(HAVE__BOOL)
# typedef _Bool bool
typedef _Bool bool;
# define false 0
# define true 1
# else