use uConsts rather than including config.inc more than once
authorsheepluva
Tue, 04 Feb 2014 13:37:12 +0100
changeset 10101 781f0c19e59b
parent 10100 ac3ec9c11c97
child 10102 bab8a3cccdf8
use uConsts rather than including config.inc more than once
hedgewars/uPhysFSLayer.pas
--- a/hedgewars/uPhysFSLayer.pas	Tue Feb 04 12:37:26 2014 +0100
+++ b/hedgewars/uPhysFSLayer.pas	Tue Feb 04 13:37:12 2014 +0100
@@ -3,8 +3,6 @@
 interface
 uses SDLh, LuaPas;
 
-{$INCLUDE "config.inc"}
-
 const PhysfsLibName = {$IFDEF PHYSFS_INTERNAL}'libhwphysfs'{$ELSE}'libphysfs'{$ENDIF};
 const PhyslayerLibName = 'libphyslayer';
 
@@ -38,7 +36,7 @@
 {$ENDIF}
 
 implementation
-uses uUtils, uVariables, sysutils;
+uses uConsts, uUtils, uVariables, sysutils;
 
 {$IFNDEF PAS2C}
 function PHYSFS_init(argv0: PChar) : LongInt; cdecl; external PhysfsLibName;