* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous

structs are available rather than just testing preprocessor variable directly.
This commit is contained in:
Christopher Faylor 2001-09-01 14:42:57 +00:00
parent 2496a3637f
commit 2bcd6fb89d
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sat Sep 1 10:40:37 2001 Christopher Faylor <cgf@cygnus.com>
* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if
anonymous structs are available rather than just testing preprocessor
variable directly.
Fri Aug 31 21:46:00 2001 Corinna Vinschen <corinna@vinschen.de> Fri Aug 31 21:46:00 2001 Corinna Vinschen <corinna@vinschen.de>
* include/winnt.h: Change definition of `SYSTEM_LUID' to comply * include/winnt.h: Change definition of `SYSTEM_LUID' to comply

View File

@ -1705,7 +1705,7 @@ typedef union _LARGE_INTEGER {
DWORD LowPart; DWORD LowPart;
LONG HighPart; LONG HighPart;
} u; } u;
#if _ANONYMOUS_STRUCT || defined __cplusplus #if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus)
struct { struct {
DWORD LowPart; DWORD LowPart;
LONG HighPart; LONG HighPart;
@ -1718,7 +1718,7 @@ typedef union _ULARGE_INTEGER {
DWORD LowPart; DWORD LowPart;
DWORD HighPart; DWORD HighPart;
} u; } u;
#if _ANONYMOUS_STRUCT || defined __cplusplus #if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus)
struct { struct {
DWORD LowPart; DWORD LowPart;
DWORD HighPart; DWORD HighPart;