diff --git a/rtl/atari/system.pas b/rtl/atari/system.pas index 62cf110ce2..0ea4586854 100644 --- a/rtl/atari/system.pas +++ b/rtl/atari/system.pas @@ -766,5 +766,8 @@ begin errno := 0; { Setup command line arguments } argc:=GetParamCount(args); - initvariantmanager; + InitVariantManager; +{$ifdef HASWIDESTRING} + InitWideStringManager; +{$endif HASWIDESTRING} end. diff --git a/rtl/emx/system.pas b/rtl/emx/system.pas index b3cff33097..2740e9cc2b 100644 --- a/rtl/emx/system.pas +++ b/rtl/emx/system.pas @@ -567,7 +567,11 @@ begin InitSystemThreads; - initvariantmanager; + InitVariantManager; + +{$ifdef HASWIDESTRING} + InitWideStringManager; +{$endif HASWIDESTRING} if os_Mode in [osDOS,osDPMI] then DosEnvInit; diff --git a/rtl/os2/system.pas b/rtl/os2/system.pas index 0eadfaf809..79ca313072 100644 --- a/rtl/os2/system.pas +++ b/rtl/os2/system.pas @@ -753,7 +753,11 @@ begin DefaultFileType := ''; InitSystemThreads; - initvariantmanager; + InitVariantManager; + +{$ifdef HASWIDESTRING} + InitWideStringManager; +{$endif HASWIDESTRING} {$IFDEF EXTDUMPGROW} { Int_HeapSize := high (cardinal);}