Skip to content

Commit 11110be

Browse files
committed
del bad redefine of UnicodeString; dont support fpc 2.5-
1 parent f362a0e commit 11110be

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

python4lazarus/Sources/Core/PythonEngine.pas

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ interface
7777
Windows,
7878
{$ELSE}
7979
Types,
80-
Dl, //AT
81-
DynLibs, //AT
82-
Forms, //AT for "Application.terminate"
80+
Dl,
81+
DynLibs,
82+
Forms, //for Application.Terminate
8383
{$ENDIF}
8484
Classes,
8585
SysUtils,
@@ -102,7 +102,6 @@ interface
102102

103103
type
104104
{$IFNDEF UNICODE}
105-
UnicodeString = WideString;
106105
TUnicodeStringList = TWideStringList;
107106
{$ELSE}
108107
TUnicodeStringList = TStringList;
@@ -115,11 +114,6 @@ interface
115114
{$IFEND}
116115
PNativeInt = ^NativeInt;
117116
{$ELSE}
118-
{$IF DEFINED(FPC_FULLVERSION) and (FPC_FULLVERSION >= 20500)}
119-
{$ELSE}
120-
NativeInt = integer;
121-
NativeUInt = Cardinal;
122-
{$IFEND}
123117
PNativeInt = ^NativeInt;
124118
{$ENDIF}
125119

0 commit comments

Comments
 (0)