mirror of https://github.com/libsdl-org/SDL
SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous
otherwise build fails. (at least with my VS2005. and the code accesses the arms of the unions anonymously anyway.)
This commit is contained in:
parent
949b8bd8c5
commit
013b146de9
|
@ -129,7 +129,7 @@ typedef struct _TASKDIALOGCONFIG
|
|||
{
|
||||
HICON hMainIcon;
|
||||
PCWSTR pszMainIcon;
|
||||
} DUMMYUNIONNAME;
|
||||
} /*DUMMYUNIONNAME*/;
|
||||
PCWSTR pszMainInstruction;
|
||||
PCWSTR pszContent;
|
||||
UINT cButtons;
|
||||
|
@ -146,7 +146,7 @@ typedef struct _TASKDIALOGCONFIG
|
|||
{
|
||||
HICON hFooterIcon;
|
||||
PCWSTR pszFooterIcon;
|
||||
} DUMMYUNIONNAME2;
|
||||
} /*DUMMYUNIONNAME2*/;
|
||||
PCWSTR pszFooter;
|
||||
PFTASKDIALOGCALLBACK pfCallback;
|
||||
LONG_PTR lpCallbackData;
|
||||
|
|
Loading…
Reference in New Issue