2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>

* include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with
	!defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT).
	(_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.
This commit is contained in:
Earnie Boyd 2001-09-12 14:08:53 +00:00
parent aed6988a36
commit e078566ced
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2001-09-11 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (_[U]LARGE_INTEGER): Protect nameless struct with
!defined(NONAMELESSUNION), rather than defined(_ANONYMOUS_STRUCT).
(_REPARSE_DATA_BUFFER): Name union field DUMMYUNIONNAME.
2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
* include/wininet.h (InternetAutodial): Add prototype.

View File

@ -1705,12 +1705,12 @@ typedef union _LARGE_INTEGER {
DWORD LowPart;
LONG HighPart;
} u;
#if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus)
#if ! defined(NONAMELESSUNION) || defined(__cplusplus)
struct {
DWORD LowPart;
LONG HighPart;
};
#endif /* _ANONYMOUS_STRUCT */
#endif /* NONAMELESSUNION */
LONGLONG QuadPart;
} LARGE_INTEGER, *PLARGE_INTEGER;
typedef union _ULARGE_INTEGER {
@ -1718,12 +1718,12 @@ typedef union _ULARGE_INTEGER {
DWORD LowPart;
DWORD HighPart;
} u;
#if defined(_ANONYMOUS_STRUCT) || defined(__cplusplus)
#if ! defined(NONAMELESSUNION) || defined(__cplusplus)
struct {
DWORD LowPart;
DWORD HighPart;
};
#endif /* _ANONYMOUS_STRUCT */
#endif /* NONAMELESSUNION */
ULONGLONG QuadPart;
} ULARGE_INTEGER, *PULARGE_INTEGER;
typedef LARGE_INTEGER LUID,*PLUID;
@ -2502,7 +2502,7 @@ typedef struct _REPARSE_DATA_BUFFER {
struct {
BYTE DataBuffer[1];
} GenericReparseBuffer;
};
} DUMMYUNIONNAME;
} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
typedef struct _REPARSE_GUID_DATA_BUFFER {
DWORD ReparseTag;