* 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:
Earnie Boyd
2001-04-17 12:58:06 +00:00
parent 8aefe7c08b
commit 91874e20bf
11 changed files with 66 additions and 48 deletions

View File

@ -325,7 +325,7 @@ typedef struct tagFONTDESC {
typedef struct tagPICTDESC {
UINT cbSizeofstruct;
UINT picType;
union {
_ANONYMOUS_UNION union {
struct {
HBITMAP hbitmap;
HPALETTE hpal;