--- 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;