From: DeaDDooMER Date: Sun, 10 Sep 2023 11:03:29 +0000 (+0300) Subject: sdl: fix build for win32 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=e1664ed8cea6e3970b892b9b50b60a1fb0c4b017;p=d2df-sdl.git sdl: fix build for win32 --- diff --git a/src/lib/sdl/sdl.pas b/src/lib/sdl/sdl.pas index e38a0f3..d22a38c 100644 --- a/src/lib/sdl/sdl.pas +++ b/src/lib/sdl/sdl.pas @@ -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;