Fix build failure on ARM64.
This commit is contained in:
@@ -27,7 +27,12 @@ typedef char CHAR;
|
||||
|
||||
#if !defined(BOOL)
|
||||
#if defined(__MACH__)
|
||||
#if defined(__arm64__)
|
||||
#include <stdbool.h>
|
||||
typedef _Bool BOOL;
|
||||
#else
|
||||
typedef signed char BOOL;
|
||||
#endif
|
||||
#else
|
||||
typedef int BOOL;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user