From 2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 1 Sep 2001 14:42:57 +0000 Subject: * include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous structs are available rather than just testing preprocessor variable directly. --- winsup/w32api/ChangeLog | 6 ++++++ winsup/w32api/include/winnt.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 2e0184f9a..8d8ca6911 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,9 @@ +Sat Sep 1 10:40:37 2001 Christopher Faylor + + * 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 * include/winnt.h: Change definition of `SYSTEM_LUID' to comply diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h index f62756c15..4994479f3 100644 --- a/winsup/w32api/include/winnt.h +++ b/winsup/w32api/include/winnt.h @@ -1705,7 +1705,7 @@ typedef union _LARGE_INTEGER { DWORD LowPart; LONG HighPart; } u; -#if _ANONYMOUS_STRUCT || defined __cplusplus +#if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus) struct { DWORD LowPart; LONG HighPart; @@ -1718,7 +1718,7 @@ typedef union _ULARGE_INTEGER { DWORD LowPart; DWORD HighPart; } u; -#if _ANONYMOUS_STRUCT || defined __cplusplus +#if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus) struct { DWORD LowPart; DWORD HighPart; -- cgit v1.2.3