Skip to content

Commit bebf039

Browse files
committed
Fixed IF compiler directives
1 parent df6c3e6 commit bebf039

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666

6767
{$IF defined(LINUX) or (defined(BSD) and not defined(DARWIN)) or defined(SOLARIS) or defined(HAIKU)}
6868
{$define _so_files}
69-
{$ENDIF}
69+
{$IFEND}
7070

7171
interface
7272

@@ -3573,7 +3573,7 @@ function TPythonInterface.GetUnicodeTypeSuffix : string;
35733573
'UCS2'
35743574
{$ELSE}
35753575
'UCS4'
3576-
{$ENDIF}
3576+
{$IFEND}
35773577
else
35783578
Result := '';
35793579
end;

PythonForDelphi/Components/Sources/Core/UnitTests/WrapDelphiTest.pas

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,6 @@ procedure TTestWrapDelphi.TestObjectField;
234234
end;
235235

236236
procedure TTestWrapDelphi.TestRecord;
237-
Var
238-
VRec: TValue;
239237
begin
240238
Rtti_rec.StringField := 'abcd';
241239
Assert.IsTrue(rtti_rec.StringField = 'abcd');

0 commit comments

Comments
 (0)