FFI: Allow 'typedef _Bool int BOOL;' to make Windows users happy.

This commit is contained in:
Mike Pall
2012-05-08 18:34:12 +02:00
parent 0d824b7d14
commit 886a450a3d
3 changed files with 16 additions and 9 deletions

View File

@@ -43,7 +43,7 @@
#define CTKWDEF(_) \
/* Type specifiers. */ \
_("void", -1, CTOK_VOID) \
_("_Bool", 1, CTOK_BOOL) \
_("_Bool", 0, CTOK_BOOL) \
_("bool", 1, CTOK_BOOL) \
_("char", 1, CTOK_CHAR) \
_("int", 4, CTOK_INT) \