mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-17 07:30:15 +00:00
Refactor BOOL -> bool
This commit is contained in:
parent
87e7ec24ff
commit
c5fb837314
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user