OSX: typedef signed char BOOL

This commit is contained in:
skidau 2013-01-10 00:24:42 +11:00
parent 8494a439c7
commit 7600cf106b
1 changed files with 3 additions and 1 deletions

View File

@ -62,7 +62,9 @@ typedef unsigned long ulong;
#ifndef _WINDEF_
// 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;
#endif
#define FALSE 0