delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/03/27/18:49:40

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3AC12477.45A02CD2@yahoo.com>
Date: Tue, 27 Mar 2001 18:38:31 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin-developers AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin-developers AT cygwin DOT com, Harold Hunt <huntharo AT msu DOT edu>
Subject: Re: [huntharo AT msu DOT edu: Patched w32api headers]
References: <20010327102908 DOT A6177 AT redhat DOT com>

I've added to the todo list.

Chris Faylor wrote:
> 
> ----- Forwarded message from Harold Hunt <huntharo AT msu DOT edu> -----
> 
> From: "Harold Hunt" <huntharo AT msu DOT edu>
> To: <cgf AT cygwin DOT com>
> Subject: Patched w32api headers
> Date: Mon, 26 Mar 2001 23:12:40 -0500
> In-Reply-To: <20010326193340 DOT F2921 AT redhat DOT com>
> 
> Chris,
> 
> To build the Test series of servers, which #include w32api headers, I have
> to wrap a couple things in the w32api headers with #ifndef XFree86Server;
> the things being wrapped are, fortunately, things that are either identical
> to their X counterpart, such as INT32, or they are things that will never be
> used by Cygwin/XFree86, such as ATOM, RT_CURSOR, and RT_FONT.
> 
> My question for you is whether I should ever submit these as patches to
> Cygwin, or if I should instead distribute the diffs to people wishing to
> compile Cygwin/XFree86.  I'm having a hard time with this question, because
> it is unusual to see system headers get modified for a single application;
> while on the other hand, this is Cygwin/XFree86, so maybe it would make
> sense in this case.
> 
> The diffs are actually quite small, they just wrap the following with
> #ifndef XFree86Server:
> winuser.h       RT_CURSOR RT_FONT
> basetsd.h       INT32
> windef.h        ATOM BOOL BYTE
> winbase.h       FreeResource
> 
> I also added a DUMMYUNIONNAME to the union in the structure
> REPARSE_DATA_BUFFER around line 2472 in winnt.h.  That isn't essential, it
> was just to get rid of a warning about how ANSI C doesn't support unnamed
> structures/unions.
> 
> Well, what do you think?
> 
> Harold
> 
> ----- End forwarded message -----
> 
> --
> cgf AT cygnus DOT com                        Red Hat, Inc.
> http://sources.redhat.com/            http://www.redhat.com/

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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