Re: poll-emul

[email protected] Wed, 26 Nov 2003 16:30:53 +0100 (CET)
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>

On 25 Nov 2003 [email protected] wrote:

> On Mac OS X 10.2.8 (gcc version 3.3)
>
> ---
> gcc -c -O -Wall  -DPOLL_EMULATION -DNEED_SOCKLEN_T -DHAVE_VFORK core.c -o core.o
> core.c: In function `run_rconnection':
> core.c:707: error: `POLLERR' undeclared (first use in this function)
> core.c:707: error: (Each undeclared identifier is reported only once
> core.c:707: error: for each function it appears in.)
> core.c: In function `run_wconnection':
> core.c:730: error: `POLLERR' undeclared (first use in this function)
> ---
>

I notice you are compiling with poll emulation. Is this really necessary?
I would have thought that the Mac OS X would have a perfectly good poll()
function built into it.

Cheers
Michiel