hedgewars/hwengine.pas
changeset 14204 3c36a4e66c82
parent 13825 cf7626f46bb2
child 14373 c2a3d15df7d3
--- a/hedgewars/hwengine.pas	Mon Nov 12 20:05:24 2018 +0300
+++ b/hedgewars/hwengine.pas	Mon Nov 12 20:30:06 2018 +0300
@@ -18,7 +18,7 @@
 
 {$INCLUDE "options.inc"}
 
-{$IFDEF WIN32}
+{$IFDEF WINDOWS}
 {$R res/hwengine.rc}
 {$ENDIF}
 
@@ -36,7 +36,7 @@
      {$IFDEF USE_VIDEO_RECORDING}, uVideoRec {$ENDIF}
      {$IFDEF USE_TOUCH_INTERFACE}, uTouch {$ENDIF}
      {$IFDEF ANDROID}, GLUnit{$ENDIF}
-     {$IFDEF WIN32}, dynlibs{$ENDIF}
+     {$IFDEF WINDOWS}, dynlibs{$ENDIF}
      ;
 
 {$IFDEF HWLIBRARY}
@@ -59,7 +59,7 @@
 {$ENDIF}
 {$ENDIF}
 
-{$IFDEF WIN32}
+{$IFDEF WINDOWS}
 type TSetProcessDpiAwareness = function(value: Integer): Integer; stdcall;
 var SetProcessDpiAwareness: TSetProcessDpiAwareness;
 var ShcoreLibHandle: TLibHandle;
@@ -637,7 +637,7 @@
 begin
 {$ENDIF}
 
-{$IFDEF WIN32}
+{$IFDEF WINDOWS}
     ShcoreLibHandle := LoadLibrary('Shcore.dll');
     if (ShcoreLibHandle <> 0) then
     begin