We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b606d8 commit 8c15940Copy full SHA for 8c15940
1 file changed
PythonForDelphi/Components/Sources/Core/PythonEngine.pas
@@ -3634,7 +3634,10 @@ function TPythonInterface.GetUnicodeTypeSuffix : String;
3634
Result := ''
3635
else if APIVersion >= 1011 then
3636
Result :=
3637
- {$IFDEF WINDOWS} 'UCS2' {$ELSEIF DARWIN} 'UCS2' {$ELSE} 'UCS4' {$ENDIF}
+ {$IF DEFINED(WINDOWS) or DEFINED(DARWIN) or DEFINED(SOLARIS)}
3638
+ 'UCS2'
3639
+ {$ELSE}
3640
+ 'UCS4'
3641
else
3642
Result := '';
3643
end;
0 commit comments