Commit 013b146de9e6cbf2a72efa04048d9cd760e89985

Ozkan Sezer 2018-06-30T20:55:51

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.)

diff --git a/src/video/windows/SDL_windowstaskdialog.h b/src/video/windows/SDL_windowstaskdialog.h
index 549ab26..a2a9e8a 100644
--- a/src/video/windows/SDL_windowstaskdialog.h
+++ b/src/video/windows/SDL_windowstaskdialog.h
@@ -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;