[Fwd: Fwd: _ANONYMOUS_STRUCT]
Tue Sep 4 08:09:00 GMT 2001
On Tue, Sep 04, 2001 at 10:41:15AM -0400, Earnie Boyd wrote:
>FYI, you cannot include the individual w32api headers. You must include
>windows.h to set up the necessary dependencies. This is a MS
I'm not sure I understand what is being said here.
_ANONYMOUS_STRUCT is defined in windows.h. It is not defined to a non-zero
value, though. So, what was the previous code:
#if _ANONYMOUS_STRUCT || defined __cplusplus
attempting? It seems to me that it never would have been activated for C
programs. That is the problem I was seeing and that is what I was trying
I don't remember why this is conditional anyway. Is this just to accomodate
>From: Danny Smith <email@example.com>
>Subject: Fwd: _ANONYMOUS_STRUCT
>Date: Sun, 2 Sep 2001 11:46:18 +1000 (EST)
>Earnie, this bounced. You may want to FWD to cygwin-patches.
> --- Danny Smith <firstname.lastname@example.org> wrote: > Date: Sun, 2
>Sep 2001 11:35:57 +1000 (EST)
>> From: Danny Smith <email@example.com>
>> Subject: _ANONYMOUS_STRUCT
>> To: cygwin-patches <firstname.lastname@example.org>
>> > Sat Sep 1 10:40:37 2001 Christopher Faylor <email@example.com>
>> > * include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if
>> > anonymous structs are available rather than just testing
>> > variable directly.
>> This doesn't work. _ANONYMOUS_STRUCT is _always_ defined in
>> windows.h, line 78
>> #ifndef _ANONYMOUS_STRUCT
>> #define _ANONYMOUS_STRUCT
> http://travel.yahoo.com.au - Yahoo! Travel
>- Got Itchy feet? Get inspired!
firstname.lastname@example.org Red Hat, Inc.
More information about the Cygwin-patches