diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 19:36:28 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 19:36:28 +0000 |
commit | ad41401c69d623d99e055572114bc338dcb5d010 (patch) | |
tree | 2e3d94e9604427eb6084d4972a06907c58057fa6 | |
parent | 66e49b8532aee9ab83d8148cc2b086b3da4287b2 (diff) | |
download | newlib-ad41401c69d623d99e055572114bc338dcb5d010.zip newlib-ad41401c69d623d99e055572114bc338dcb5d010.tar.gz newlib-ad41401c69d623d99e055572114bc338dcb5d010.tar.bz2 |
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.
-rw-r--r-- | winsup/w32api/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/w32api/include/winbase.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 7f1f0d8..95e5aea 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 bcca1b7..acb90fa 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; }; |