diff --git a/compat/mingw.c b/compat/mingw.c index 7b7b0d44a7..ced2d4855f 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -2316,7 +2316,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;