delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/19/10:06:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: IPPROTO_IP is not a macro
Mail-Copies-To: never
Reply-To: sds AT gnu DOT org
X-Attribution: Sam
X-Disclaimer: You should not expect anyone to agree with me.
From: Sam Steingold <sds AT gnu DOT org>
Mail-Followup-To: cygwin AT cygwin DOT com
Date: Thu, 19 May 2005 09:40:56 -0400
Message-ID: <u3bsjuydz.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)
MIME-Version: 1.0

<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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019