From 013b146de9e6cbf2a72efa04048d9cd760e89985 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 30 Jun 2018 20:55:51 +0300 Subject: [PATCH] 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/windows/SDL_windowstaskdialog.h b/src/video/windows/SDL_windowstaskdialog.h index 549ab260e..a2a9e8a4b 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;