From: Ketmar Dark Date: Mon, 18 Apr 2016 16:14:27 +0000 (+0300) Subject: fixed shitdoze warning X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=cd0837a23eed9896737537add1a93d878a227840;p=d2df-sdl.git fixed shitdoze warning --- diff --git a/src/game/g_window.pas b/src/game/g_window.pas index 29f79e4..f711ab2 100644 --- a/src/game/g_window.pas +++ b/src/game/g_window.pas @@ -44,8 +44,10 @@ var wLoadingProgress: Boolean = False; wLoadingQuit: Boolean = False; {wWinPause: Byte = 0;} +{$IFNDEF WINDOWS} ticksOverflow: Int64 = -1; lastTicks: Uint32 = 0; // to detect overflow +{$ENDIF} const // TODO: move this to a separate file