summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/olectl.h
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-04-17 12:58:06 +0000
committerEarnie Boyd <earnie@users.sf.net>2001-04-17 12:58:06 +0000
commit91874e20bf881a7b519c2eeae57b07f456138f79 (patch)
tree2397d5f1b24de22c566c84393422b3f062a07e00 /winsup/w32api/include/olectl.h
parent8aefe7c08b95d736d9e4ed7eee6bfd971191a67f (diff)
downloadcygnal-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/olectl.h')
-rw-r--r--winsup/w32api/include/olectl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/w32api/include/olectl.h b/winsup/w32api/include/olectl.h
index 97ea9f40d..6c2163074 100644
--- a/winsup/w32api/include/olectl.h
+++ b/winsup/w32api/include/olectl.h
@@ -325,7 +325,7 @@ typedef struct tagFONTDESC {
typedef struct tagPICTDESC {
UINT cbSizeofstruct;
UINT picType;
- union {
+ _ANONYMOUS_UNION union {
struct {
HBITMAP hbitmap;
HPALETTE hpal;