summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-09-01 14:42:57 +0000
committerChristopher Faylor <me@cgf.cx>2001-09-01 14:42:57 +0000
commit2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d (patch)
treefbb83d9b2af55b9cfc3ec48fc871e2f34d9c2730
parent2496a3637f4bcb5617c661ef33e3e1a1cc5e93c1 (diff)
downloadcygnal-2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d.tar.gz
cygnal-2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d.tar.bz2
cygnal-2bcd6fb89d4f72b3c0fd962bd5fe499631a8ff8d.zip
* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
structs are available rather than just testing preprocessor variable directly.
-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;