summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winnt.h
diff options
context:
space:
mode:
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 4e120770b..8e7c9f007 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;