delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/05/01/10:57:07

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Wed, 1 May 2002 10:57:06 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Should sys/types.h include sys/sysmacros.h?
Message-ID: <20020501145706.GF6736@redhat.com>
Reply-To: cygwin-developers AT cygwin DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com
References: <20020501125600 DOT GE3160 AT tishler DOT net>
Mime-Version: 1.0
In-Reply-To: <20020501125600.GE3160@tishler.net>
User-Agent: Mutt/1.3.23.1i

On Wed, May 01, 2002 at 08:56:00AM -0400, Jason Tishler wrote:
>In the process of trying to build the latest Python CVS, I get a link
>error due to the following line:
>
>    res = mknod(filename, mode, makedev(major, minor));
>
>After building successfully under Linux, I determined that the above
>works because Linux's sys/types.h includes sys/sysmacros.h.
>
>Should newlib's sys/types.h include sys/sysmacros.h (possibly only for
>Cygwin)?
>
>I tried searching:
>
>    http://www.opengroup.org/onlinepubs/007908799/index.html
>
>but came up empty.

If it makes things more linux compliant and there is no corresponding
susv2 ruling, then go for it.  Could you send a patch to the newlib mailing
list?  If it's conditionalized for cygwin, I can approve it.

cgf

- Raw text -


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