Refactor BOOL -> bool

This commit is contained in:
Aaron Culliney 2015-06-07 10:55:18 -07:00
parent 87e7ec24ff
commit c5fb837314
2 changed files with 1 additions and 3 deletions

View File

@ -1488,7 +1488,7 @@ static bool MB_DSInit()
&dwThreadId); // lpThreadId &dwThreadId); // lpThreadId
LogFileOutput("MB_DSInit: CreateThread(), g_hThread=0x%08X\n", (UINT32)g_hThread); LogFileOutput("MB_DSInit: CreateThread(), g_hThread=0x%08X\n", (UINT32)g_hThread);
BOOL bRes2 = SetThreadPriority(g_hThread, THREAD_PRIORITY_TIME_CRITICAL); bool bRes2 = SetThreadPriority(g_hThread, THREAD_PRIORITY_TIME_CRITICAL);
LogFileOutput("MB_DSInit: SetThreadPriority(), bRes=%d\n", bRes2 ? 1 : 0); LogFileOutput("MB_DSInit: SetThreadPriority(), bRes=%d\n", bRes2 ? 1 : 0);
return true; return true;

View File

@ -28,10 +28,8 @@
typedef unsigned long DWORD; typedef unsigned long DWORD;
#ifdef __APPLE__ #ifdef __APPLE__
typedef UInt32 ULONG; typedef UInt32 ULONG;
typedef signed char BOOL;
#endif #endif
typedef unsigned long ULONG; typedef unsigned long ULONG;
typedef bool BOOL;
typedef long LONG; typedef long LONG;
typedef unsigned int UINT; typedef unsigned int UINT;
typedef uint32_t UINT32; typedef uint32_t UINT32;