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/objidl.h | |
parent | 8aefe7c08b95d736d9e4ed7eee6bfd971191a67f (diff) | |
download | newlib-91874e20bf881a7b519c2eeae57b07f456138f79.zip newlib-91874e20bf881a7b519c2eeae57b07f456138f79.tar.gz newlib-91874e20bf881a7b519c2eeae57b07f456138f79.tar.bz2 |
* 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/objidl.h')
-rw-r--r-- | winsup/w32api/include/objidl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/w32api/include/objidl.h b/winsup/w32api/include/objidl.h index 5a8fc3b..63d1448 100644 --- a/winsup/w32api/include/objidl.h +++ b/winsup/w32api/include/objidl.h @@ -151,7 +151,7 @@ typedef enum tagBIND_FLAGS { } BIND_FLAGS; typedef struct tagSTGMEDIUM { DWORD tymed; - union { + _ANONYMOUS_UNION union { HBITMAP hBitmap; PVOID hMetaFilePict; HENHMETAFILE hEnhMetaFile; @@ -297,7 +297,7 @@ typedef struct tagPROPVARIANT { WORD wReserved1; WORD wReserved2; WORD wReserved3; - union { + _ANONYMOUS_UNION union { UCHAR bVal; short iVal; USHORT uiVal; @@ -349,7 +349,7 @@ typedef struct tagPROPVARIANT { } PROPVARIANT; typedef struct tagPROPSPEC { ULONG ulKind; - union { + _ANONYMOUS_UNION union { PROPID propid; LPOLESTR lpwstr; } DUMMYUNIONNAME; |