{$ifdef VER1_0}\r
linux,\r
{$else}\r
- baseunix,unix,unixutil,\r
+ baseunix,unix,unixutil,sockets,\r
{$endif}\r
classes,lcore,lloopback;\r
\r
firstsignal : tlsignal;\r
blockset : sigset;\r
signalloopback : tlloopback ;\r
-
+ \r
implementation\r
{$include unixstuff.inc}\r
\r
saction : sigactionrec = (handler:(sh:lsignal_handler);sa_flags:0);\r
{$else}\r
{$ifdef darwin}\r
- saction : sigactionrec = (sa_handler:tsigaction(lsignal_handler);sa_flags:0);\r
+ saction : sigactionrec = (sa_handler:sigactionhandler(lsignal_handler);sa_flags:0);\r
{$else}\r
{$ifdef freebsd}\r
//version number is FPC_VERSION.FPC_RELEASE.FPC_PATCH\r
initialization\r
fillchar(blockset,sizeof(blockset),0);\r
blockset[0] := $FFFFFFFF - (1 shl sigstop) - (1 shl sigkill) - (1 shl sigsegv);\r
- {$ifdef ver1_0}
- saction.sa_mask := blockset[0];
- {$else}
+ {$ifdef ver1_0}\r
+ saction.sa_mask := blockset[0];\r
+ {$else}\r
saction.sa_mask := blockset;\r
{$endif}\r
end.\r