Browse Source

FIX: Windows XP compatibility

Alexander Koblov 3 months ago
parent
commit
1af6bd6f7d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/platform/upixmapmanager.pas

+ 2 - 2
src/platform/upixmapmanager.pas

@@ -2733,11 +2733,11 @@ procedure LoadPixMapManager;
 var
   Q: QWord;
 begin
-  Q:= GetTickCount64;
+  Q:= SysUtils.GetTickCount64;
   DCDebug('Creating PixmapManager');
   PixMapManager:=TPixMapManager.Create;
   PixMapManager.Load(gpCfgDir + 'pixmaps.txt');
-  DCDebug('Creating PixmapManager done '+ IntToStr(GetTickCount64 - Q));
+  DCDebug('Creating PixmapManager done '+ IntToStr(SysUtils.GetTickCount64 - Q));
 end;
 
 initialization