浏览代码

* fix for snapshot building.

marco 22 年之前
父节点
当前提交
4b6df870be
共有 1 个文件被更改,包括 7 次插入4 次删除
  1. 7 4
      compiler/catch.pas

+ 7 - 4
compiler/catch.pas

@@ -106,17 +106,20 @@ begin
   {$ifdef has_signal}
   {$ifdef has_signal}
     NewSignal:=SignalHandler({$ifdef fpcprocvar}@{$endif}CatchSignal);
     NewSignal:=SignalHandler({$ifdef fpcprocvar}@{$endif}CatchSignal);
     {$ifndef sunos}
     {$ifndef sunos}
-      OldSigSegm:={$ifdef VER1_0}Signal{$else}fpSignal{$endif} (SIGSEGV,NewSignal);
+      OldSigSegm:={$ifdef VER1_0}Signal{$else}{$ifdef Unix}fpSignal{$else}Signal{$endif}{$endif} (SIGSEGV,NewSignal);
     {$endif} // lxrun on solaris hooks this for handling linux-calls!
     {$endif} // lxrun on solaris hooks this for handling linux-calls!
-    OldSigInt:={$ifdef VER1_0}Signal{$else}fpSignal{$endif}  (SIGINT,NewSignal);
-    OldSigFPE:={$ifdef VER1_0}Signal{$else}fpSignal{$endif}  (SIGFPE,NewSignal);
+    OldSigInt:={$ifdef VER1_0}Signal{$else}{$ifdef Unix}fpSignal{$else}Signal{$endif}{$endif}  (SIGINT,NewSignal);
+    OldSigFPE:={$ifdef VER1_0}Signal{$else}{$ifdef Unix}fpSignal{$else}Signal{$endif}{$endif}  (SIGFPE,NewSignal);
   {$endif}
   {$endif}
 {$endif nocatch}
 {$endif nocatch}
 end.
 end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.15  2003-09-14 20:26:18  marco
+  Revision 1.16  2003-09-18 08:50:48  marco
+   * fix for snapshot building.
+
+  Revision 1.15  2003/09/14 20:26:18  marco
    * Unix reform
    * Unix reform
 
 
   Revision 1.14  2003/09/05 17:41:12  florian
   Revision 1.14  2003/09/05 17:41:12  florian