Patched to compile with Visual Studio.

This commit is contained in:
Ryan C. Gordon 2013-08-17 20:46:34 -04:00
parent 1455a94714
commit 7e3b7dbcb6
1 changed files with 4 additions and 4 deletions

View File

@ -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