summaryrefslogtreecommitdiff
path: root/rtl/watcom
diff options
context:
space:
mode:
authorpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-10-25 02:29:29 +0000
committerpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-10-25 02:29:29 +0000
commitc1ceb879363ea96e619eabb2c9a5c34a1d31ba30 (patch)
tree8970acf391c25c4942e8d9f3b184a8239fddf2ac /rtl/watcom
parent308251ce0ccf2267bcd7a328912bf5635ae19e6e (diff)
downloadfpc-c1ceb879363ea96e619eabb2c9a5c34a1d31ba30.tar.gz
rtl: init widestring and unitcodestring managers before initialization of Standard IO files (stdin,stdout,stderr)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@19542 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/watcom')
-rw-r--r--rtl/watcom/system.pp6
1 files changed, 1 insertions, 5 deletions
diff --git a/rtl/watcom/system.pp b/rtl/watcom/system.pp
index 7bda6b8276..d3bbdbdbca 100644
--- a/rtl/watcom/system.pp
+++ b/rtl/watcom/system.pp
@@ -763,6 +763,7 @@ Begin
{ Setup heap }
InitHeap;
SysInitExceptions;
+ initunicodestringmanager;
{ Setup stdin, stdout and stderr }
SysInitStdIO;
{ Setup environment and arguments }
@@ -786,9 +787,4 @@ Begin
InstallDefaultHandlers;
{$endif EXCEPTIONS_IN_SYSTEM}
initvariantmanager;
-{$ifdef VER2_2}
- initwidestringmanager;
-{$else VER2_2}
- initunicodestringmanager;
-{$endif VER2_2}
End.