Browse Source

use the new HASAMIGA instead of the non-existing AmigaShell

git-svn-id: trunk@26124 -
Károly Balogh 11 years ago
parent
commit
ba89914471
1 changed files with 3 additions and 3 deletions
  1. 3 3
      compiler/cfileutl.pas

+ 3 - 3
compiler/cfileutl.pas

@@ -1546,18 +1546,18 @@ end;
         result := Unix.fpsystem(command);
         result := Unix.fpsystem(command);
       end;
       end;
 {$else hasunix}
 {$else hasunix}
-  {$ifdef amigashell}
+  {$ifdef hasamiga}
       begin
       begin
         result := RequotedExecuteProcess('',command);
         result := RequotedExecuteProcess('',command);
       end;
       end;
-  {$else amigashell}
+  {$else hasamiga}
       var
       var
         comspec : string;
         comspec : string;
       begin
       begin
         comspec:=GetEnvironmentVariable('COMSPEC');
         comspec:=GetEnvironmentVariable('COMSPEC');
         result := RequotedExecuteProcess(comspec,' /C '+command);
         result := RequotedExecuteProcess(comspec,' /C '+command);
       end;
       end;
-   {$endif amigashell}
+   {$endif hasamiga}
 {$endif hasunix}
 {$endif hasunix}