mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 04:39:22 +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);
|
procedure TDebugCaptureService.DoLog(aType: TEventType; const aFmt: String; args: array of const);
|
||||||
begin
|
begin
|
||||||
if Assigned(FonLog) then
|
if Assigned(FonLog) then
|
||||||
|
{$IF DECLARED(SafeFormat)}
|
||||||
FonLog(aType,SafeFormat(aFmt,args));
|
FonLog(aType,SafeFormat(aFmt,args));
|
||||||
|
{$ELSE}
|
||||||
|
FonLog(aType,Format(aFmt,args));
|
||||||
|
{$ENDIF}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TDebugCaptureService.CreateRegistrationList: THandlerRegistrationList;
|
function TDebugCaptureService.CreateRegistrationList: THandlerRegistrationList;
|
||||||
|
@ -114,6 +114,10 @@ const
|
|||||||
'Thu', 'Fri', 'Sat');
|
'Thu', 'Fri', 'Sat');
|
||||||
|
|
||||||
Type
|
Type
|
||||||
|
{$IF NOT DECLARED(RTLString)}
|
||||||
|
RTLString = Ansistring;
|
||||||
|
{$ENDIF}
|
||||||
|
|
||||||
// HTTP related variables.
|
// HTTP related variables.
|
||||||
THTTPVariableType = (hvUnknown,hvHTTPVersion, hvMethod, hvCookie, hvSetCookie, hvXRequestedWith,
|
THTTPVariableType = (hvUnknown,hvHTTPVersion, hvMethod, hvCookie, hvSetCookie, hvXRequestedWith,
|
||||||
hvPathInfo,hvPathTranslated,hvRemoteAddress,hvRemoteHost,hvScriptName,
|
hvPathInfo,hvPathTranslated,hvRemoteAddress,hvRemoteHost,hvScriptName,
|
||||||
|
Loading…
Reference in New Issue
Block a user