This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: IPPROTO_IP is not a macro
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 19 May 2005 23:22:58 +0200
- Subject: Re: IPPROTO_IP is not a macro
- References: <u3bsjuydz.fsf@gnu.org>
- Reply-to: cygwin at cygwin dot com
On May 19 09:40, Sam Steingold wrote:
> <http://www.opengroup.org/onlinepubs/009695399/basedefs/netinet/in.h.html>:
> The <netinet/in.h> header shall define the following macros for use as
> values of the level argument of getsockopt() and setsockopt():
>
> IPPROTO_IP
> Internet protocol.
> etc
>
> cygwin defines these constants with enum, not #define, so one cannot use
> #ifdef with them.
Thanks for the hint. Fixed in CVS.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/