From efb280e0e93a408ed5013d804cafd69879c39844 Mon Sep 17 00:00:00 2001 From: yury Date: Sun, 20 Jul 2008 22:39:19 +0000 Subject: [PATCH] * Use system_wince in all places. git-svn-id: trunk@11429 - --- compiler/ogcoff.pas | 4 ++-- compiler/systems/t_win.pas | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/ogcoff.pas b/compiler/ogcoff.pas index 26c273f29e..8d32031a75 100644 --- a/compiler/ogcoff.pas +++ b/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 diff --git a/compiler/systems/t_win.pas b/compiler/systems/t_win.pas index 9f7e2d3ecf..20bc3f78ec 100644 --- a/compiler/systems/t_win.pas +++ b/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