- In case of HWLIBRARY we need reference to sysutils for GetCurrentDir()
authorantonc27 <antonc27@mail.ru>
Sun, 22 May 2016 15:06:08 +0200
changeset 11832 f2ab65d97242
parent 11831 dd18d8100afd
child 11833 6c26c66f419e
- In case of HWLIBRARY we need reference to sysutils for GetCurrentDir()
hedgewars/uPhysFSLayer.pas
--- a/hedgewars/uPhysFSLayer.pas	Sat May 21 15:23:08 2016 -0400
+++ b/hedgewars/uPhysFSLayer.pas	Sun May 22 15:06:08 2016 +0200
@@ -40,7 +40,7 @@
 procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName;
 
 implementation
-uses uConsts, uUtils, uVariables{$IFDEF PAS2C}, physfs{$ENDIF};
+uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, sysutils{$ENDIF}{$ELSE}, physfs{$ENDIF};
 
 function PHYSFSRWOPS_openRead(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;
 function PHYSFSRWOPS_openWrite(fname: PChar): PSDL_RWops; cdecl; external PhyslayerLibName;