Commit 4413adf9 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Define NONAMELESSUNION and NONAMELESSSTRUCT for older compilers.

parent 795de499
......@@ -19,6 +19,8 @@
*/
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <stdarg.h>
......@@ -1343,10 +1345,10 @@ msi_dialog_tv_add_child_features( MSIPACKAGE *package, HWND hwnd,
tvis.hInsertAfter = TVI_SORT;
if (feature->Title)
{
tvis.item.mask = TVIF_TEXT;
tvis.item.pszText = feature->Title;
tvis.u.item.mask = TVIF_TEXT;
tvis.u.item.pszText = feature->Title;
}
tvis.item.lParam = (LPARAM) feature;
tvis.u.item.lParam = (LPARAM) feature;
hitem = (HTREEITEM) SendMessageW( hwnd, TVM_INSERTITEMW, 0, (LPARAM) &tvis );
if (!hitem)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment