Browse Source

* fix wince building after unicodestring changes

git-svn-id: trunk@11828 -
florian 17 years ago
parent
commit
013dc5e379
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/options.pas
  2. 1 1
      compiler/psystem.pas

+ 1 - 1
compiler/options.pas

@@ -2581,7 +2581,7 @@ begin
   set_system_macro('FPC_PATCH',patch_nr);
   set_system_macro('FPC_FULLVERSION',Format('%d%.02d%.02d',[StrToInt(version_nr),StrToInt(release_nr),StrToInt(patch_nr)]));
 
-  if not(target_info.system in system_windows) then
+  if not(target_info.system in system_all_windows) then
     def_system_macro('FPC_WIDESTRING_EQUAL_UNICODESTRING');
 
   for i:=low(tfeature) to high(tfeature) do

+ 1 - 1
compiler/psystem.pas

@@ -157,7 +157,7 @@ implementation
         { should we give a length to the default long and ansi string definition ?? }
         clongstringtype:=tstringdef.createlong(-1);
         cansistringtype:=tstringdef.createansi;
-        if target_info.system in system_windows then
+        if target_info.system in system_all_windows then
           cwidestringtype:=tstringdef.createwide
         else
           cwidestringtype:=tstringdef.createunicode;