diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-04-17 12:58:06 +0000 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-04-17 12:58:06 +0000 |
commit | 91874e20bf881a7b519c2eeae57b07f456138f79 (patch) | |
tree | 2397d5f1b24de22c566c84393422b3f062a07e00 /winsup/w32api/include/mmsystem.h | |
parent | 8aefe7c08b95d736d9e4ed7eee6bfd971191a67f (diff) | |
download | cygnal-91874e20bf881a7b519c2eeae57b07f456138f79.tar.gz cygnal-91874e20bf881a7b519c2eeae57b07f456138f79.tar.bz2 cygnal-91874e20bf881a7b519c2eeae57b07f456138f79.zip |
* 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.
Diffstat (limited to 'winsup/w32api/include/mmsystem.h')
-rw-r--r-- | winsup/w32api/include/mmsystem.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/w32api/include/mmsystem.h b/winsup/w32api/include/mmsystem.h index a35a78929..63451f974 100644 --- a/winsup/w32api/include/mmsystem.h +++ b/winsup/w32api/include/mmsystem.h @@ -1185,11 +1185,11 @@ typedef struct tagMIXERCONTROLA { CHAR szShortName[MIXER_SHORT_NAME_CHARS]; CHAR szName[MIXER_LONG_NAME_CHARS]; union { - struct { + _ANONYMOUS_STRUCT struct { LONG lMinimum; LONG lMaximum; }_STRUCT_NAME(s); - struct { + _ANONYMOUS_STRUCT struct { DWORD dwMinimum; DWORD dwMaximum; }_STRUCT_NAME(s1); @@ -1210,11 +1210,11 @@ typedef struct tagMIXERCONTROLW { WCHAR szShortName[MIXER_SHORT_NAME_CHARS]; WCHAR szName[MIXER_LONG_NAME_CHARS]; union { - struct { + _ANONYMOUS_STRUCT struct { LONG lMinimum; LONG lMaximum; }_STRUCT_NAME(s); - struct { + _ANONYMOUS_STRUCT struct { DWORD dwMinimum; DWORD dwMaximum; }_STRUCT_NAME(s1); @@ -1229,7 +1229,7 @@ typedef struct tagMIXERCONTROLW { typedef struct tagMIXERLINECONTROLSA { DWORD cbStruct; DWORD dwLineID; - union { + _ANONYMOUS_UNION union { DWORD dwControlID; DWORD dwControlType; } DUMMYUNIONNAME; @@ -1240,7 +1240,7 @@ typedef struct tagMIXERLINECONTROLSA { typedef struct tagMIXERLINECONTROLSW { DWORD cbStruct; DWORD dwLineID; - union { + _ANONYMOUS_UNION union { DWORD dwControlID; DWORD dwControlType; } DUMMYUNIONNAME; @@ -1252,7 +1252,7 @@ typedef struct tMIXERCONTROLDETAILS { DWORD cbStruct; DWORD dwControlID; DWORD cChannels; - union { + _ANONYMOUS_UNION union { HWND hwndOwner; DWORD cMultipleItems; } DUMMYUNIONNAME; |