summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winbase.h8
2 files changed, 8 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 7f1f0d822..95e5aeaee 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,5 +1,9 @@
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+ * include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.
+
+2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+
* lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.
2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index bcca1b7cb..acb90fa7c 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -5,9 +5,9 @@
#endif
#ifdef __GNUC__
-#define __MINGW_EXTENSION __extension__
+#define __GNUC_EXTENSION __extension__
#else
-#define __MINGW_EXTENSION
+#define __GNUC_EXTENSION
#endif
#ifndef WINBASEAPI
@@ -852,8 +852,8 @@ typedef struct _DEBUG_EVENT {
typedef struct _OVERLAPPED {
ULONG_PTR Internal;
ULONG_PTR InternalHigh;
- __MINGW_EXTENSION union {
- __MINGW_EXTENSION struct {
+ __GNUC_EXTENSION union {
+ __GNUC_EXTENSION struct {
DWORD Offset;
DWORD OffsetHigh;
};