MinGW compatibility patch for DUMMYUNIONNAME1 from LRN git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/branches/releases/v1.0@4027 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/direct-x/include/_mingw_dxhelper.h b/mingw-w64-headers/direct-x/include/_mingw_dxhelper.h index e13408c..467f3aa 100644 --- a/mingw-w64-headers/direct-x/include/_mingw_dxhelper.h +++ b/mingw-w64-headers/direct-x/include/_mingw_dxhelper.h
@@ -60,6 +60,14 @@ # endif #endif /* DUMMYUNIONNAME */ +#if !defined(DUMMYUNIONNAME1) /* MinGW does not define this one */ +# ifdef NONAMELESSUNION +# define DUMMYUNIONNAME1 u1 /* Wine uses this variant */ +# else +# define DUMMYUNIONNAME1 /* Wine uses this variant */ +# endif +#endif /* DUMMYUNIONNAME1 */ + #ifndef DUMMYSTRUCTNAME # ifdef NONAMELESSUNION # define DUMMYSTRUCTNAME s