SDL_windowstaskdialog.h (struct _TASKDIALOGCONFIG): make unions anonymous
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 30 Jun 2018 20:55:51 +0300
changeset 120468963fea8c431
parent 12045 bac108d0cd86
child 12054 e604fe493d45
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.)
src/video/windows/SDL_windowstaskdialog.h
     1.1 --- a/src/video/windows/SDL_windowstaskdialog.h	Sat Jun 30 20:10:40 2018 +0300
     1.2 +++ b/src/video/windows/SDL_windowstaskdialog.h	Sat Jun 30 20:55:51 2018 +0300
     1.3 @@ -129,7 +129,7 @@
     1.4      {
     1.5          HICON   hMainIcon;
     1.6          PCWSTR  pszMainIcon;
     1.7 -    } DUMMYUNIONNAME;
     1.8 +    } /*DUMMYUNIONNAME*/;
     1.9      PCWSTR      pszMainInstruction;
    1.10      PCWSTR      pszContent;
    1.11      UINT        cButtons;
    1.12 @@ -146,7 +146,7 @@
    1.13      {
    1.14          HICON   hFooterIcon;
    1.15          PCWSTR  pszFooterIcon;
    1.16 -    } DUMMYUNIONNAME2;
    1.17 +    } /*DUMMYUNIONNAME2*/;
    1.18      PCWSTR      pszFooter;
    1.19      PFTASKDIALOGCALLBACK pfCallback;
    1.20      LONG_PTR    lpCallbackData;