diff --git a/compat/mingw.c b/compat/mingw.c index fb2b10a755..ba1f404b8e 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -2338,7 +2338,10 @@ typedef struct _REPARSE_DATA_BUFFER { DWORD ReparseTag; WORD ReparseDataLength; WORD Reserved; - _ANONYMOUS_UNION union { +#ifndef _MSC_VER + _ANONYMOUS_UNION +#endif + union { struct { WORD SubstituteNameOffset; WORD SubstituteNameLength;