hedgewars/PascalExports.pas
changeset 4924 616b618814b5
parent 4920 bc3c077e15a2
child 4939 6d512ba87f72
--- 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