Skip to content

Commit 10b80ae

Browse files
committed
for Py2.x on Linux
1 parent 22227a1 commit 10b80ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3632,7 +3632,7 @@ function TPythonInterface.GetUnicodeTypeSuffix : String;
36323632
if (fMajorVersion > 3) or ((fMajorVersion = 3) and (fMinorVersion >= 3)) then
36333633
Result := ''
36343634
else if APIVersion >= 1011 then
3635-
Result := 'UCS2'
3635+
Result := {$IFDEF WINDOWS} 'UCS2' {$ELSE} 'UCS4' {$ENDIF}
36363636
else
36373637
Result := '';
36383638
end;

0 commit comments

Comments
 (0)