diff --git a/compat/mingw.c b/compat/mingw.c index 12fcd0a754..6efdeec293 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -2332,7 +2332,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;