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:
Ozkan Sezer 2018-06-30 20:55:51 +03:00
parent 949b8bd8c5
commit 013b146de9
1 changed files with 2 additions and 2 deletions

View File

@ -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;