소스 검색

* linux -> unix

peter 24 년 전
부모
커밋
3f16b1b8c7
1개의 변경된 파일10개의 추가작업 그리고 3개의 파일을 삭제
  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');