> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, July 20, 2001 5:59 PM
> To: [EMAIL PROTECTED]
> Subject: RE: autoconf error with /dev/ptmx
>
>
> Robert, Corinna , Andrej
>
> Thanks for the replies which explain what's going on.
>
> If I leave the PTMX define in the compile fails on
>
>     if (ioctl(*ttyfd, I_PUSH, "ptem") < 0)
>         sockerror("ioctl I_PUSH ptem");
>     if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0)
>         sockerror("ioctl I_PUSH ldterm");
>     if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0)
>         sockerror("ioctl I_PUSH ttcompat");
>
> I_PUSH is not defined, on Linux this is in
>
> /usr/include/bits/stropts.h
>

What has it to do with Linux? You need enclose it either in #ifndef
__CYGWIN__ or #ifdef I_PUSH.

-andrej


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to