make a minor change per information from anders to allow build with current
authorplugwash <plugwash@p10link.net>
Tue, 16 Feb 2010 03:34:46 +0000 (03:34 +0000)
committerplugwash <plugwash@p10link.net>
Tue, 16 Feb 2010 03:34:46 +0000 (03:34 +0000)
fpc on darwin, this may break builds with older compilers on darwin
(unfortunately I don't have such older versions handy to test so I can't
really set up ifdefs)

git-svn-id: file:///svnroot/lcore/trunk@78 b1de8a11-f9be-4011-bde0-cc7ace90066a

lsignal.pas

index ef98905665e91b1cc3a1373e849430213949071a..968f45c11863a0a4091d033de8dee2834d5df03e 100755 (executable)
@@ -156,7 +156,7 @@ const
     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