Skip to content

Commit

Permalink
SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anony…
Browse files Browse the repository at this point in the history
…mous

otherwise build fails. (at least with my VS2005. and the code accesses the
arms of the unions anonymously anyway.)
  • Loading branch information
sezero committed Jun 30, 2018
1 parent 949b8bd commit 013b146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/windows/SDL_windowstaskdialog.h
Expand Up @@ -129,7 +129,7 @@ typedef struct _TASKDIALOGCONFIG
{
HICON hMainIcon;
PCWSTR pszMainIcon;
} DUMMYUNIONNAME;
} /*DUMMYUNIONNAME*/;
PCWSTR pszMainInstruction;
PCWSTR pszContent;
UINT cButtons;
Expand All @@ -146,7 +146,7 @@ typedef struct _TASKDIALOGCONFIG
{
HICON hFooterIcon;
PCWSTR pszFooterIcon;
} DUMMYUNIONNAME2;
} /*DUMMYUNIONNAME2*/;
PCWSTR pszFooter;
PFTASKDIALOGCALLBACK pfCallback;
LONG_PTR lpCallbackData;
Expand Down

0 comments on commit 013b146

Please sign in to comment.