# HG changeset patch # User Wuzzy # Date 1556636423 -7200 # Node ID 259840ca77e36ec221dbacde9a3bb4f50c260f57 # Parent 8d65728c4ed0140f31f8ee19c20c56d34b100aad Fix Pas2C failing to include SysUtils diff -r 8d65728c4ed0 -r 259840ca77e3 hedgewars/hwengine.pas --- a/hedgewars/hwengine.pas Tue Apr 30 09:36:13 2019 -0400 +++ b/hedgewars/hwengine.pas Tue Apr 30 17:00:23 2019 +0200 @@ -663,7 +663,7 @@ init(argc, argv); {$ENDIF} {$IFNDEF PAS2C} - // Custom procedure for unhandled exceptions; ExceptProc is used by sysutils module + // Custom procedure for unhandled exceptions; ExceptProc is used by SysUtils module ExceptProc:= @catchUnhandledException; {$ENDIF} diff -r 8d65728c4ed0 -r 259840ca77e3 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Apr 30 09:36:13 2019 -0400 +++ b/hedgewars/uGears.pas Tue Apr 30 17:00:23 2019 +0200 @@ -52,7 +52,7 @@ function IsClockRunning() : boolean; implementation -uses sysutils, uStore, uSound, uTeams, uRandom, uIO, uLandGraphics, +uses SysUtils, uStore, uSound, uTeams, uRandom, uIO, uLandGraphics, {$IFDEF USE_TOUCH_INTERFACE}uTouch,{$ENDIF} uLocale, uAmmos, uStats, uVisualGears, uScript, uVariables, uCommands, uUtils, uTextures, uRenderUtils, uGearsRender, uCaptions, diff -r 8d65728c4ed0 -r 259840ca77e3 hedgewars/uPhysFSLayer.pas --- a/hedgewars/uPhysFSLayer.pas Tue Apr 30 09:36:13 2019 -0400 +++ b/hedgewars/uPhysFSLayer.pas Tue Apr 30 17:00:23 2019 +0200 @@ -46,7 +46,7 @@ procedure hedgewarsMountPackage(filename: PChar); cdecl; external PhyslayerLibName; implementation -uses uConsts, uUtils, uVariables{$IFNDEF PAS2C}{$IFDEF HWLIBRARY}, sysutils{$ENDIF}{$ELSE}, 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;