diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-13 10:53:13 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-05-13 10:53:13 +0000 |
commit | 1b89c1742e2e8600f5ad7baa8fe2bcbc622757ad (patch) | |
tree | a008318774a6fde69da627e1287c28a0dd831aa1 | |
parent | 8a4b4764b8e725f18795c581760b6d67c4848fb3 (diff) | |
download | newlib-1b89c1742e2e8600f5ad7baa8fe2bcbc622757ad.zip newlib-1b89c1742e2e8600f5ad7baa8fe2bcbc622757ad.tar.gz newlib-1b89c1742e2e8600f5ad7baa8fe2bcbc622757ad.tar.bz2 |
* include/prsht.h (PROPSHEETHEADER[AW]: Mark
anonymous unions as GCC extension.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/prsht.h | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c8adea6..d8eac3a 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 2003-05-13 Danny Smith <dannysmith@users.sourceforge.net> + * include/prsht.h (PROPSHEETHEADER[AW]: Mark + anonymous unions as GCC extension. + +2003-05-13 Danny Smith <dannysmith@users.sourceforge.net> + * include/oleidl.h (LPENUMOLEDOCUMENTVIEWS): Remove typedef. (IEnumOleDocumentViews): Remove commented out DECLARE_ENUMERATOR. * include/docobj.h (LPENUMOLEDOCUMENTVIEWS): Add typedef (previously diff --git a/winsup/w32api/include/prsht.h b/winsup/w32api/include/prsht.h index 7b5fb03..73432df 100644 --- a/winsup/w32api/include/prsht.h +++ b/winsup/w32api/include/prsht.h @@ -185,12 +185,12 @@ typedef struct _PROPSHEETHEADERA { }DUMMYUNIONNAME3; PFNPROPSHEETCALLBACK pfnCallback; #if (_WIN32_IE >= 0x0400) - union { + _ANONYMOUS_UNION union { HBITMAP hbmWatermark; LPCSTR pszbmWatermark; } DUMMYUNIONNAME4; HPALETTE hplWatermark; - union { + _ANONYMOUS_UNION union { HBITMAP hbmHeader; LPCSTR pszbmHeader; } DUMMYUNIONNAME5; @@ -218,12 +218,12 @@ typedef struct _PROPSHEETHEADERW { }DUMMYUNIONNAME3; PFNPROPSHEETCALLBACK pfnCallback; #if (_WIN32_IE >= 0x0400) - union { + _ANONYMOUS_UNION union { HBITMAP hbmWatermark; LPCWSTR pszbmWatermark; } DUMMYUNIONNAME4; HPALETTE hplWatermark; - union { + _ANONYMOUS_UNION union { HBITMAP hbmHeader; LPCWSTR pszbmHeader; } DUMMYUNIONNAME5; |