From: plugwash Date: Tue, 16 Feb 2010 03:34:46 +0000 (+0000) Subject: make a minor change per information from anders to allow build with current X-Git-Url: http://www.lcore.org/git/lcore.git/commitdiff_plain/fd34612bda96990b8a77d39fb939ba2703c85f3e make a minor change per information from anders to allow build with current 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 --- diff --git a/lsignal.pas b/lsignal.pas index ef98905..968f45c 100755 --- a/lsignal.pas +++ b/lsignal.pas @@ -156,7 +156,7 @@ const saction : sigactionrec = (handler:(sh:lsignal_handler);sa_flags:0); {$else} {$ifdef darwin} - saction : sigactionrec = (sa_handler:tsigaction(lsignal_handler);sa_flags:0); + saction : sigactionrec = (sa_handler:sigactionhandler(lsignal_handler);sa_flags:0); {$else} {$ifdef freebsd} //version number is FPC_VERSION.FPC_RELEASE.FPC_PATCH