diff options
Diffstat (limited to 'src/timer')
-rw-r--r-- | src/timer/windows/SDL_systimer.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/timer/windows/SDL_systimer.c b/src/timer/windows/SDL_systimer.c index a3055218cc..4680d4aa72 100644 --- a/src/timer/windows/SDL_systimer.c +++ b/src/timer/windows/SDL_systimer.c @@ -170,17 +170,17 @@ SDL_GetPerformanceFrequency(void) return frequency.QuadPart; } -#ifdef __WINRT__
-static void
-Sleep(DWORD timeout)
-{
- static HANDLE mutex = 0;
- if ( ! mutex )
- {
- mutex = CreateEventEx(0, 0, 0, EVENT_ALL_ACCESS);
- }
- WaitForSingleObjectEx(mutex, timeout, FALSE);
-}
+#ifdef __WINRT__ +static void +Sleep(DWORD timeout) +{ + static HANDLE mutex = 0; + if ( ! mutex ) + { + mutex = CreateEventEx(0, 0, 0, EVENT_ALL_ACCESS); + } + WaitForSingleObjectEx(mutex, timeout, FALSE); +} #endif void |