Explorar o código

Do not call initunicodestringmanager if unicodestrings feature is disabled

git-svn-id: trunk@36110 -
pierre %!s(int64=8) %!d(string=hai) anos
pai
achega
579b8dafd2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      rtl/msdos/system.pp

+ 2 - 0
rtl/msdos/system.pp

@@ -554,7 +554,9 @@ begin
 { Setup heap }
   InitDosHeap;
   SysInitExceptions;
+{$ifdef FPC_HAS_FEATURE_UNICODESTRINGS}
   initunicodestringmanager;
+{$endif def FPC_HAS_FEATURE_UNICODESTRINGS}
 { Setup stdin, stdout and stderr }
   SysInitStdIO;
 { Setup environment and arguments }