Explorar o código

* default apptype for wince is gui

git-svn-id: trunk@852 -
florian %!s(int64=20) %!d(string=hai) anos
pai
achega
0f671b0962
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      compiler/options.pas

+ 4 - 0
compiler/options.pas

@@ -1781,6 +1781,10 @@ begin
     end;
   option.firstpass:=false;
 
+{ target is set here, for wince the default app type is gui }
+  if target_info.system in system_wince then
+    apptype:=app_gui;
+
 { default defines }
   def_system_macro(target_info.shortname);
   def_system_macro('FPC');