Skip to content

Commit 8c15940

Browse files
committed
SOLARIS is USC2 too.
1 parent 3b606d8 commit 8c15940

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3634,7 +3634,10 @@ function TPythonInterface.GetUnicodeTypeSuffix : String;
36343634
Result := ''
36353635
else if APIVersion >= 1011 then
36363636
Result :=
3637-
{$IFDEF WINDOWS} 'UCS2' {$ELSEIF DARWIN} 'UCS2' {$ELSE} 'UCS4' {$ENDIF}
3637+
{$IF DEFINED(WINDOWS) or DEFINED(DARWIN) or DEFINED(SOLARIS)}
3638+
'UCS2'
3639+
{$ELSE}
3640+
'UCS4'
36383641
else
36393642
Result := '';
36403643
end;

0 commit comments

Comments
 (0)