Skip to content

Commit 293e6eb

Browse files
committed
fix: erro de compilação para Lazarus
fix: configuração de diretivas para Delphi 13
1 parent 7ea7b00 commit 293e6eb

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

src/base/PascalRAL.inc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,32 @@
3535
{$IFDEF CLR}
3636
{$DEFINE DELPHINET}
3737
{$ENDIF}
38+
39+
{$IF Defined(VER370) or (CompilerVersion >= 37)}
40+
{$DEFINE DELPHI13UP}
41+
{$DEFINE DELPHI12UP}
42+
{$DEFINE DELPHI11UP}
43+
{$DEFINE DELPHI10_4UP}
44+
{$DEFINE DELPHI10_3UP}
45+
{$DEFINE DELPHI10_2UP}
46+
{$DEFINE DELPHI10_1UP}
47+
{$DEFINE DELPHI10_0UP}
48+
{$DEFINE DELPHIXE8UP}
49+
{$DEFINE DELPHIXE7UP}
50+
{$DEFINE DELPHIXE6UP}
51+
{$DEFINE DELPHIXE5UP}
52+
{$DEFINE DELPHIXE4UP}
53+
{$DEFINE DELPHIXE3UP}
54+
{$DEFINE DELPHIXE2UP}
55+
{$DEFINE DELPHIXEUP}
56+
{$DEFINE DELPHI2010UP}
57+
{$DEFINE DELPHI2009UP}
58+
{$DEFINE DELPHI2007UP}
59+
{$DEFINE DELPHI2006UP}
60+
{$DEFINE DELPHI2005UP}
61+
{$DEFINE DELPHI8UP}
62+
{$DEFINE DELPHI7UP}
63+
{$IFEND ~VER370}
3864

3965
{$IF Defined(VER360) or (CompilerVersion >= 36)}
4066
{$DEFINE DELPHI12UP}

src/base/RALConsts.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface
1313

1414
const
1515
// Versionamento
16-
RALVERSION = '0.12.1-2 beta';
16+
RALVERSION = '0.12.1-3 beta';
1717
RALVERSION_MAJOR = 0;
1818
RALVERSION_MINOR = 12;
1919
RALVERSION_PATCH = 1;

src/engine/fpHTTP/RALfpHTTPServer.pas

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,9 @@ procedure TRALfpHttpServerThread.OnCommandProcess(Sender: TObject;
349349
end;
350350
except
351351
on e: exception do
352-
if Assigned(OnServerError) then
353-
OnServerError(e)
354-
else if RaiseError then
352+
if Assigned(FParent.OnServerError) then
353+
FParent.OnServerError(e)
354+
else if FParent.RaiseError then
355355
raise;
356356
end;
357357
finally

0 commit comments

Comments
 (0)