Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Patched to compile with Visual Studio.
- Loading branch information
Showing
with
4 additions
and
4 deletions.
-
+4
−4
src/timer/windows/SDL_systimer.c
|
@@ -108,15 +108,15 @@ SDL_InitTicks(void) |
|
|
Uint32 |
|
|
SDL_GetTicks(void) |
|
|
{ |
|
|
if (!ticks_started) { |
|
|
SDL_InitTicks(); |
|
|
} |
|
|
|
|
|
DWORD now; |
|
|
#ifndef USE_GETTICKCOUNT |
|
|
LARGE_INTEGER hires_now; |
|
|
#endif |
|
|
|
|
|
if (!ticks_started) { |
|
|
SDL_InitTicks(); |
|
|
} |
|
|
|
|
|
#ifdef USE_GETTICKCOUNT |
|
|
now = GetTickCount(); |
|
|
#else |
|
|