Prechádzať zdrojové kódy

* Use system_wince in all places.

git-svn-id: trunk@11429 -
yury 17 rokov pred
rodič
commit
efb280e0e9
2 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 2 2
      compiler/ogcoff.pas
  2. 2 2
      compiler/systems/t_win.pas

+ 2 - 2
compiler/ogcoff.pas

@@ -2213,7 +2213,7 @@ const pemagic : array[0..3] of byte = (
             peoptheader.MinorOperatingSystemVersion:=0;
             peoptheader.MajorImageVersion:=dllmajor;
             peoptheader.MinorImageVersion:=dllminor;
-            if target_info.system in [system_arm_wince,system_i386_wince] then
+            if target_info.system in system_wince then
               peoptheader.MajorSubsystemVersion:=3
             else
               peoptheader.MajorSubsystemVersion:=4;
@@ -2222,7 +2222,7 @@ const pemagic : array[0..3] of byte = (
             peoptheader.SizeOfImage:=Align(CurrMemPos,SectionMemAlign);
             peoptheader.SizeOfHeaders:=textExeSec.DataPos;
             peoptheader.CheckSum:=0;
-            if target_info.system in [system_arm_wince,system_i386_wince] then
+            if target_info.system in system_wince then
               peoptheader.Subsystem:=PE_SUBSYSTEM_WINDOWS_CE_GUI
             else
               if apptype=app_gui then

+ 2 - 2
compiler/systems/t_win.pas

@@ -1338,7 +1338,7 @@ implementation
           RelocStr:='--base-file base.$$$';
         if create_smartlink_sections then
           GCSectionsStr:='--gc-sections';
-        if target_info.system in [system_arm_wince,system_i386_wince] then
+        if target_info.system in system_wince then
           AppTypeStr:='--subsystem wince'
         else
           begin
@@ -1607,7 +1607,7 @@ implementation
         { gui=2 }
         { cui=3 }
         { wincegui=9 }
-        if target_info.system in [system_arm_wince,system_i386_wince] then
+        if target_info.system in system_wince then
           peoptheader.Subsystem:=9
         else
           case apptype of