Inital start to special-case nameless struct/union extension into __C89_NAMELESS instead of __MINGW_EXTENSION. This is mainly done to synchronze more easily with Wine. This means patches to add __C89_NAMELESS for nameless struct/union, and or replacing for __MINGW_EXTENSION by __C89_NAMELESS for them are most welcome. git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@3954 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/_mingw_mac.h b/mingw-w64-headers/crt/_mingw_mac.h index f309be7..dbf4f67 100644 --- a/mingw-w64-headers/crt/_mingw_mac.h +++ b/mingw-w64-headers/crt/_mingw_mac.h
@@ -122,6 +122,11 @@ #define __MINGW_EXTENSION #endif +/* Special case nameless struct/union. */ +#ifndef __C89_NAMELESS +#define __C89_NAMELESS __MINGW_EXTENSION +#endif + #ifndef __GNU_EXTENSION #define __GNU_EXTENSION __MINGW_EXTENSION #endif