[PATCH] [!SA_SIGINFO] fix

Samuel Thibault samuel.thibault@ens-lyon.org
Thu Aug 9 17:39:00 GMT 2007


David Daney, le Thu 09 Aug 2007 10:24:27 -0700, a écrit :
> >@@ -110,7 +110,11 @@
> > // sigwait() on SIGCHLD.  The information passed is ignored as it
> > // will be recovered by the waitpid() call.
> > static void
> >+#ifdef SA_SIGINFO
> > sigchld_handler (int sig, siginfo_t *si, void *third)
> >+#else
> >+sigchld_handler (int sig)
> >+#endif
> .
> .
> .
> Should this be done with an autoconf check?

Mmm, I don't see the benefit of #ifdef HAVE_SA_SIGINFO vs #ifdef SA_SIGINFO.

Samuel



More information about the Java-patches mailing list