Changed _Bool to be int8_t type rather than enum type. This should fix size compatibility with C++.

This commit is contained in:
skarg
2008-08-25 15:34:16 +00:00
parent 2ab30fc981
commit 10191b70de
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
/* C99 Boolean types for compilers without C99 support */
#ifndef __cplusplus
typedef int _Bool;
typedef char _Bool;
#ifndef bool
#define bool _Bool
#endif