DEADSOFTWARE

sfs and wad code refactoring: part 1
[d2df-sdl.git] / src / game / g_window.pas
index 0429b77368be262a7b3d8e08c997e6653926e5fc..cbc10281f3f8df5809a1971fb1999830816223b7 100644 (file)
@@ -3,7 +3,7 @@ unit g_window;
 interface
 
 uses
-  WADEDITOR;
+  wadreader;
 
 function  SDLMain(): Integer;
 function  GetTimer(): Int64;
@@ -23,7 +23,7 @@ function  g_Window_SetSize(W, H: Word; FScreen: Boolean): Boolean;
 implementation
 
 uses
-{$IFDEF WIN32}Windows,{$ENDIF}
+{$IFDEF WINDOWS}Windows,{$ENDIF}
   SDL2, GL, GLExt, e_graphics, e_log, g_main,
   g_console, SysUtils, e_input, g_options, g_game,
   g_basic, g_textures, e_sound, g_sound, g_menu, ENet, g_net;
@@ -435,7 +435,7 @@ begin
   Result := True;
 end;
 
-{$IFDEF WIN32}
+{$IFDEF WINDOWS}
 // windoze sux; in headless mode `GetTickCount()` (and SDL) returns shit
 function GetTimer(): Int64;
 var