hedgewars/SDLh.pas
changeset 1903 64e56f19d6d6
parent 1880 b12b4dc2f080
child 1906 644f93d8f148
--- a/hedgewars/SDLh.pas	Wed Mar 18 21:43:22 2009 +0000
+++ b/hedgewars/SDLh.pas	Wed Mar 18 21:43:46 2009 +0000
@@ -27,9 +27,7 @@
 {$ENDIF}
 
 {$IFDEF UNIX}
-  {$IFDEF DARWIN}
-    {$linklib gcc}
-  {$ELSE}
+  {$IFNDEF DARWIN}
     {$linklib c}
   {$ENDIF}
   {$linklib pthread}
@@ -68,6 +66,7 @@
 	  {$linklib SDLmain}
 	  {$linkframework Cocoa}
 	  {$PASCALMAINNAME SDL_main}
+	  {$linklib gcc}
 	{$ELSE}
           SDLLibName = 'libSDL.so';
         {$ENDIF}