* include/windows.h: Define _ANONYMOUS_STRUCT and _ANONYMOUS_UNION
as __extenstion__ when appropriate. * include/mmsystem.h: Mark anonymous structs and unions as __extension__ to prevent compiler warning when invoked with -pedantic * include/oaidl.h: Ditto. * include/objidl.h: Ditto. * include/olectl.h: Ditto. * include/prsht.h: Ditto. * include/shlobj.h: Ditto. * include/winbase.h: Ditto. * include/winnt.h: Ditto. * include/wtypes.h: Ditto.
This commit is contained in:
@ -807,9 +807,9 @@ typedef enum _GET_FILEEX_INFO_LEVELS {
|
||||
GetFileExMaxInfoLevel
|
||||
} GET_FILEEX_INFO_LEVELS;
|
||||
typedef struct _SYSTEM_INFO {
|
||||
union {
|
||||
_ANONYMOUS_UNION union {
|
||||
DWORD dwOemId;
|
||||
struct {
|
||||
_ANONYMOUS_STRUCT struct {
|
||||
WORD wProcessorArchitecture;
|
||||
WORD wReserved;
|
||||
} DUMMYSTRUCTNAME;
|
||||
@ -897,7 +897,7 @@ typedef struct _PROCESS_HEAP_ENTRY {
|
||||
BYTE cbOverhead;
|
||||
BYTE iRegionIndex;
|
||||
WORD wFlags;
|
||||
union {
|
||||
_ANONYMOUS_UNION union {
|
||||
struct {
|
||||
HANDLE hMem;
|
||||
DWORD dwReserved[3];
|
||||
|
Reference in New Issue
Block a user