Browse Source

* default apptype for wince is gui

git-svn-id: trunk@852 -
florian 20 years ago
parent
commit
0f671b0962
1 changed files with 4 additions and 0 deletions
  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');