From 715bb087b0a374d762b09fb2f0d6afdbc663aa84 Mon Sep 17 00:00:00 2001 From: marco Date: Sat, 14 Feb 2004 21:12:14 +0000 Subject: [PATCH] * provisorische fix voor Michael's problemen --- rtl/unix/unix.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rtl/unix/unix.pp b/rtl/unix/unix.pp index 9133c539a7..b6ed6ad272 100644 --- a/rtl/unix/unix.pp +++ b/rtl/unix/unix.pp @@ -18,6 +18,7 @@ Interface Uses UnixUtil,BaseUnix; +{$define POSIXWORKAROUND} { Get Types and Constants } {$i sysconst.inc} {$ifdef FreeBSD} @@ -749,7 +750,11 @@ var begin { Changes as above } if command='' then exit(1); + {$ifdef FreeBSD} ign.sa_handler:=TSigAction(SIG_IGN); + {$else} + ign.sa_handler:=SignalHandler(SIG_IGN); + {$endif} fpsigemptyset(ign.sa_mask); ign.sa_flags:=0; fpsigaction(SIGINT, @ign, @intact); @@ -1728,7 +1733,10 @@ End. { $Log$ - Revision 1.64 2004-02-14 18:22:15 marco + Revision 1.65 2004-02-14 21:12:14 marco + * provisorische fix voor Michael's problemen + + Revision 1.64 2004/02/14 18:22:15 marco * fpsystem, and some FPC_USE_LIBC fixes. (FreeBSD needs systypes.inc, also when FPC_USE_LIBC, it only contains types like statfs Revision 1.63 2004/02/13 10:50:22 marco