summaryrefslogtreecommitdiff
path: root/src/timer
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2014-03-09 11:06:11 -0700
committerSam Lantinga <slouken@libsdl.org>2014-03-09 11:06:11 -0700
commit32547d0c59c7e552a4ffd6d3a71cc49e02fc0629 (patch)
treec4ed00f5c0ff1cfc6c26d625c185fe376f5f6948 /src/timer
parent425634092d7541de372d25f58e90e1c7652c81c3 (diff)
Fixed line endings on WinRT source code
Diffstat (limited to 'src/timer')
-rw-r--r--src/timer/windows/SDL_systimer.c22
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