Skip to content

Commit

Permalink
Patched to compile with Visual Studio.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 18, 2013
1 parent 1455a94 commit 7e3b7db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/timer/windows/SDL_systimer.c
Expand Up @@ -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
Expand Down

0 comments on commit 7e3b7db

Please sign in to comment.