diff -r c7829611c682 -r 616b618814b5 hedgewars/PascalExports.pas --- a/hedgewars/PascalExports.pas Sat Feb 05 23:37:25 2011 +0300 +++ b/hedgewars/PascalExports.pas Sat Feb 05 22:22:16 2011 +0100 @@ -201,7 +201,11 @@ function HW_getSDLWindow: pointer; cdecl; export; begin +{$IFDEF SDL13} exit( SDLwindow ); +{$ELSE} + exit( nil ); +{$ENDIF} end; // cursor handling