summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/winnt.h4
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 <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>
* 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;