mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 07:19:35 +02:00
* Ensure code compiles with 3.2.2
This commit is contained in:
parent
ed000e6cd7
commit
8bf8272892
@ -272,7 +272,11 @@ end;
|
||||
procedure TDebugCaptureService.DoLog(aType: TEventType; const aFmt: String; args: array of const);
|
||||
begin
|
||||
if Assigned(FonLog) then
|
||||
{$IF DECLARED(SafeFormat)}
|
||||
FonLog(aType,SafeFormat(aFmt,args));
|
||||
{$ELSE}
|
||||
FonLog(aType,Format(aFmt,args));
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
function TDebugCaptureService.CreateRegistrationList: THandlerRegistrationList;
|
||||
|
@ -114,6 +114,10 @@ const
|
||||
'Thu', 'Fri', 'Sat');
|
||||
|
||||
Type
|
||||
{$IF NOT DECLARED(RTLString)}
|
||||
RTLString = Ansistring;
|
||||
{$ENDIF}
|
||||
|
||||
// HTTP related variables.
|
||||
THTTPVariableType = (hvUnknown,hvHTTPVersion, hvMethod, hvCookie, hvSetCookie, hvXRequestedWith,
|
||||
hvPathInfo,hvPathTranslated,hvRemoteAddress,hvRemoteHost,hvScriptName,
|
||||
|
Loading…
Reference in New Issue
Block a user