OSX: typedef signed char BOOL

This commit is contained in:
skidau 2013-01-10 00:24:42 +11:00
parent 8494a439c7
commit 7600cf106b

View File

@ -62,7 +62,9 @@ typedef unsigned long ulong;
#ifndef _WINDEF_ #ifndef _WINDEF_
// if these aren't defined already by Windows headers, define now // if these aren't defined already by Windows headers, define now
#if !defined(__APPLE__) #if defined(__APPLE__)
typedef signed char BOOL;
#else
typedef int BOOL; typedef int BOOL;
#endif #endif
#define FALSE 0 #define FALSE 0