DEADSOFTWARE

sdl: fix build for win32
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 10 Sep 2023 11:03:29 +0000 (14:03 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 10 Sep 2023 11:03:29 +0000 (14:03 +0300)
src/lib/sdl/sdl.pas

index e38a0f315f38571645b703293adddd1b39562f31..d22a38c22774d2b51dd488fbc738a56bca55b7cc 100644 (file)
@@ -1777,7 +1777,7 @@ type
    TSDL_SysWm = ( SDL_SYSWM_X11 ) ;
 {$ENDIF}
 
-{$IFDEF WINDOWS}
+{$IF DEFINED(WINDOWS)}
   PSDL_SysWMmsg = ^TSDL_SysWMmsg;
   TSDL_SysWMmsg = record
     version: TSDL_version;
@@ -1786,7 +1786,7 @@ type
     w_Param: WPARAM; // WORD message parameter
     lParam: LPARAM;  // LONG message parameter
   end;
-{$ELSIF DEFINED(Unix)}
+{$ELSEIF DEFINED(Unix)}
   PSDL_SysWMmsg = ^TSDL_SysWMmsg;
   TSDL_SysWMmsg = record
     version : TSDL_version;