Skip to content

Commit f4ecbe3

Browse files
committed
FPC compatibility
1 parent 24fc197 commit f4ecbe3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Source/WrapDelphi.pas

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,8 @@ implementation
10521052
rs_ErrUnexpected = 'Unexpected error';
10531053

10541054
{$REGION 'TRttiInvokableTypeHelper - "Lifted" from Spring4D"'}
1055-
{$IF CompilerVersion < 36}
1055+
1056+
{$IF not Defined(FPC) and Defined(EXTENDED_RTTI) and (CompilerVersion < 36)}
10561057
{***************************************************************************}
10571058
{ }
10581059
{ Spring Framework for Delphi }
@@ -1197,7 +1198,8 @@ function TRttiInvokableTypeHelper.CreateImplementation(AUserData: Pointer; //FI:
11971198
m.Free;
11981199
end;
11991200
end;
1200-
{$IFEND CompilerVersion < 36}
1201+
{$IFEND not Defined(FPC) and Defined(EXTENDED_RTTI) and (CompilerVersion < 36)}
1202+
12011203
{$ENDREGION 'TRttiInvokableTypeHelper - "Lifted from Spring4D"'}
12021204

12031205

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy