diff --git a/compiler/catch.pas b/compiler/catch.pas index 5ae360ffbf..a2c8567cfe 100644 --- a/compiler/catch.pas +++ b/compiler/catch.pas @@ -106,17 +106,20 @@ begin {$ifdef has_signal} NewSignal:=SignalHandler({$ifdef fpcprocvar}@{$endif}CatchSignal); {$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! - 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 nocatch} end. { $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 Revision 1.14 2003/09/05 17:41:12 florian