Browse Source

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.)
Ozkan Sezer 6 years ago
parent
commit
013b146de9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/video/windows/SDL_windowstaskdialog.h

+ 2 - 2
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;