marco il y a 23 ans
Parent
commit
921817f090
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      docs/dosex/ex5.pp
  2. 1 1
      docs/printex/printex.pp

+ 1 - 1
docs/dosex/ex5.pp

@@ -4,7 +4,7 @@ uses Dos;
 { Program to demonstrate the Exec and DosExitCode function. }
 
 begin
-{$IFDEF LINUX}
+{$IFDEF Unix}
   WriteLn('Executing /bin/ls -la');
   Exec('/bin/ls','-la');
 {$ELSE}

+ 1 - 1
docs/printex/printex.pp

@@ -11,7 +11,7 @@ begin
   for i:=1 to 80 do writeln (lst,'This is line ',i,'.'#13);
   close (lst);
   writeln ('Done.');
-  {$ifdef linux}
+  {$ifdef Unix}
   writeln ('Writing to pipe...'); 
   assignlst (f,'|/usr/bin/lpr -m');
   rewrite (f);