aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-08-30 04:29:49 +0000
committerEarnie Boyd <earnie@users.sf.net>2001-08-30 04:29:49 +0000
commitbca00ab4b63bd506dabceab705e2e8edc7a177af (patch)
tree35a86efc6eb3446b0d4d7f09215c35554b2fd5b7 /winsup/w32api/include/winnt.h
parent348c5e06c250a58e3890f4968c5962a282680ec4 (diff)
downloadnewlib-bca00ab4b63bd506dabceab705e2e8edc7a177af.zip
newlib-bca00ab4b63bd506dabceab705e2e8edc7a177af.tar.gz
newlib-bca00ab4b63bd506dabceab705e2e8edc7a177af.tar.bz2
* config.guess: Remove the \r from the end of line.
* config.sub: Ditto. * include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER if __cplusplus as well as if _ANONYMOUS_STRUCT. * config.guess: Add the MSYS system. * config.sub: Ditto. * include/winsock.h: Add the __INSIDE_MSYS__ protections. * incldue/winsock2.h: Ditto.
Diffstat (limited to 'winsup/w32api/include/winnt.h')
-rw-r--r--winsup/w32api/include/winnt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 4e12077..8e7c9f0 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
+#if _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
+#if _ANONYMOUS_STRUCT || defined __cplusplus
struct {
DWORD LowPart;
DWORD HighPart;