From 994e1a45689c9a30e8ce0cbcd15b9f08c4a3d33e Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 7 Jun 2015 12:21:33 -0700 Subject: [PATCH] Refactor FALSE -> false --- src/audio/mockingboard.c | 10 +++++----- src/audio/win-shim.h | 7 ------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/audio/mockingboard.c b/src/audio/mockingboard.c index b5209dab..b621d86c 100644 --- a/src/audio/mockingboard.c +++ b/src/audio/mockingboard.c @@ -1095,7 +1095,7 @@ static unsigned long SSI263Thread(void *lpParameter) unsigned long dwWaitResult = WaitForMultipleObjects( g_nNumEvents, // number of handles in array g_hSSI263Event, // array of event handles - FALSE, // wait until any one is signaled + false, // wait until any one is signaled 0); if((dwWaitResult < 0x0L) || (dwWaitResult > 0x0L+g_nNumEvents-1)) @@ -1350,14 +1350,14 @@ static bool MB_DSInit() } #else g_hSSI263Event[0] = CreateEvent(NULL, // lpEventAttributes - FALSE, // bManualReset (FALSE = auto-reset) - FALSE, // bInitialState (FALSE = non-signaled) + false, // bManualReset (false = auto-reset) + false, // bInitialState (false = non-signaled) NULL); // lpName LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[0]=0x%08X\n", (uint32_t)g_hSSI263Event[0]); g_hSSI263Event[1] = CreateEvent(NULL, // lpEventAttributes - FALSE, // bManualReset (FALSE = auto-reset) - FALSE, // bInitialState (FALSE = non-signaled) + false, // bManualReset (false = auto-reset) + false, // bInitialState (false = non-signaled) NULL); // lpName LOG("MB_DSInit: CreateEvent(), g_hSSI263Event[1]=0x%08X\n", (uint32_t)g_hSSI263Event[1]); diff --git a/src/audio/win-shim.h b/src/audio/win-shim.h index e67aded3..b0b5bff4 100644 --- a/src/audio/win-shim.h +++ b/src/audio/win-shim.h @@ -25,13 +25,6 @@ // 2013/09/19 - http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspx -#if !defined(TRUE) -#define TRUE true -#endif -#if !defined(FALSE) -#define FALSE false -#endif - typedef void *IUnknown; typedef void *(*LPTHREAD_START_ROUTINE)(void *unused);