mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 22:12:21 +02:00
* remove outdated defines, resolves #40897
This commit is contained in:
parent
7ca0ddc70e
commit
2f0cd77d86
@ -288,10 +288,8 @@ type
|
||||
procedure AddTerminateProc(TermProc: TTerminateProc);
|
||||
function CallTerminateProcs: Boolean;
|
||||
|
||||
{$IFNDEF VER3_0}
|
||||
generic function IfThen<T>(val:boolean;const iftrue:T; const iffalse:T) :T; inline; overload;
|
||||
generic function Exchange<T>(var target:T; const newvalue:T) :T; inline;
|
||||
{$ENDIF}
|
||||
|
||||
Var
|
||||
OnShowException : Procedure (Msg : ShortString);
|
||||
|
@ -899,7 +899,6 @@ end;
|
||||
|
||||
|
||||
// generic ifthen..
|
||||
{$IFNDEF VER3_0}
|
||||
generic function IfThen<T>(val:boolean;const iftrue:T; const iffalse:T) :T; inline; overload;
|
||||
begin
|
||||
if val then
|
||||
@ -913,7 +912,7 @@ begin
|
||||
Result := target;
|
||||
target := newvalue;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
|
||||
Function ArrayOfConstToStrArray(const Args: array of const) : TUTF8StringDynArray;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user