hedgewars/uPhysFSLayer.pas
branchphysfslayer
changeset 8540 cf808329bb6f
parent 8533 2d7703d6bc22
child 8558 e96bf10216ef
--- a/hedgewars/uPhysFSLayer.pas	Sat Feb 23 18:49:45 2013 +0100
+++ b/hedgewars/uPhysFSLayer.pas	Sun Feb 24 19:11:58 2013 +0100
@@ -3,19 +3,15 @@
 interface
 uses SDLh, LuaPas;
 
-const
-{$IFDEF WIN32}
-    PhysfsLibName = 'libphysfs';
-    PhyslayerLibName = 'libphyslayer';
-{$ELSE}
-    {$LINKLIB physfs}
-    {$LINKLIB physlayer}
-    PhysfsLibName = 'physfs';
-    PhyslayerLibName = 'physlayer';
-{$ENDIF}
+const PhysfsLibName = 'libphysfs';
+const PhyslayerLibName = 'libphyslayer';
 
-{$IFDEF DARWIN}
-    {$LINKFRAMEWORK IOKit}
+{$IFNDEF WIN32}
+    {$linklib physfs}
+    {$linklib physlayer}
+    {$IFDEF DARWIN}
+        {$linkframework IOKit}
+    {$ENDIF}
 {$ENDIF}
 
 procedure initModule;