This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: ANONYMOUS_STRUCT/UNION in w32api
- To: cygdev <cygwin-developers at cygwin dot com>
- Subject: Re: ANONYMOUS_STRUCT/UNION in w32api
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Wed, 18 Apr 2001 19:12:55 -0400
- References: <20010419005222.X15005@cygbert.vinschen.de>
- Reply-To: cygwin-developers at cygwin dot com
On Thu, Apr 19, 2001 at 12:52:22AM +0200, Corinna Vinschen wrote:
>The latest change to w32api related to the ANONYMOUS_STRUCT and
>ANONYMOUS_UNION problem breaks applications which doesn't include
><windows.h> but all needed header files separately. Each of the
>affected files should be able to define that stuff by themselves.
>
>May I suggest creating a new header, say "anon.h", which contains
>that stuff and is included by all affected files? Or, maybe it's
>only at the wrong place and could be moved to, say winnt.h?
Maybe we need something more generic. Linux has something like
features.h but we obviously can't use that name.
cgf