This is the mail archive of the
cygwin
mailing list for the Cygwin project.
IPPROTO_IP is not a macro
- From: Sam Steingold <sds at gnu dot org>
- To: cygwin at cygwin dot com
- Date: Thu, 19 May 2005 09:40:56 -0400
- Subject: IPPROTO_IP is not a macro
- Reply-to: sds at gnu dot org
<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.
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.iris.org.il> <http://www.jihadwatch.org/> <http://www.camera.org>
<http://www.mideasttruth.com/> <http://pmw.org.il/>
What was there first: the Compiler or its Source code?
--
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/