* _mingw_mac.h (__GNU_EXTENSION): Define as __MINGW_EXTENSION


git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@2887 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/crt/ChangeLog b/mingw-w64-headers/crt/ChangeLog
index 8be0c9a..e41ccf2 100644
--- a/mingw-w64-headers/crt/ChangeLog
+++ b/mingw-w64-headers/crt/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-18  Ozkan Sezer  <sezeroz@gmail.com>
+
+	* _mingw_mac.h (__GNU_EXTENSION): Define as __MINGW_EXTENSION
+
 2010-07-17  Ozkan Sezer  <sezeroz@gmail.com>
 
 	* _mingw_unicode.h (__MINGW_TYPEDEF_UAW): New helper macro.
diff --git a/mingw-w64-headers/crt/_mingw_mac.h b/mingw-w64-headers/crt/_mingw_mac.h
index 81459f6..f309be7 100644
--- a/mingw-w64-headers/crt/_mingw_mac.h
+++ b/mingw-w64-headers/crt/_mingw_mac.h
@@ -122,5 +122,9 @@
 #define __MINGW_EXTENSION
 #endif
 
+#ifndef __GNU_EXTENSION
+#define __GNU_EXTENSION		__MINGW_EXTENSION
+#endif
+
 #endif	/* _INC_CRTDEFS_MACRO */