Browse Source

* linux -> unix

peter 24 years ago
parent
commit
3f16b1b8c7
1 changed files with 10 additions and 3 deletions
  1. 10 3
      tests/tbs/tb0089.pp

+ 10 - 3
tests/tbs/tb0089.pp

@@ -7,6 +7,9 @@
 {$ifdef linux}
 {$define OK}
 {$endif}
+{$ifdef freebsd}
+{$define OK}
+{$endif}
 
 { Win32 signal support is still missing ! }
 
@@ -15,11 +18,15 @@
 {$ifdef go32v2}
  uses dpmiexcp;
 {$endif go32v2}
-{$ifdef linux}
+{$ifdef unix}
+ {$ifdef ver1_0}
  uses linux;
-{$endif linux}
+ {$else}
+ uses unix;
+ {$endif}
+{$endif unix}
 
-  function our_sig(l : longint) : longint;{$ifdef linux}cdecl;{$endif}
+  function our_sig(l : longint) : longint;{$ifdef unix}cdecl;{$endif}
     begin
        { If we land here the program works correctly !! }
        Writeln('Sigsegv signal recieved');