trouble comiling on NeXT
Matthew Wojcik (woj@k2.ccs.neu.edu)
Fri, 22 Dec 1995 11:55:03 PST
>
>The problem is that the NeXT folks provide certain POSIX functions
>(sigemptyset, sigaddset, and sigprocmask) but don't declare the type of their
>arguments (sigset_t) in the right header file <signal.h>. If someone will tell
>me where they *do* declare that type (*if* they do), I'll try to add a case to
>the configuration script to work around NeXT's bug.
>
> Pavel
>
[ramoth:/usr/etc]
> hostinfo
Mach kernel version:
NeXT Mach 3.2: Mon Oct 18 21:57:41 PDT 1993;
root(rcbuilder):mk-149.30.15.obj~2/RC_m68k/RELEASE_M68K
Here's a snipping from /usr/include/bsd/sys/signal.h:
> #ifdef _POSIX_SOURCE /* Additional entries required by */
> /* POSIX */
>
> #include <sys/types.h> /* for pid_t */
>
> typedef int sigset_t;
--Woj Matthew Wojcik woj@ccs.neu.edu
Experimental Systems Group woj@mbunix.mitre.org
College of Computer Science, Northeastern University
http://www.ccs.neu.edu/home/woj/