2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/winbase.h (__MINGW_EXTENSION): Define. (OVERLAPPED): Add __MINGW_EXTENSION around nameless union / struct to correct issue with -std=c99.
This commit is contained in:
parent
d5071ad7f5
commit
a4c7da048d
|
@ -1,3 +1,9 @@
|
||||||
|
2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||||
|
|
||||||
|
* include/winbase.h (__MINGW_EXTENSION): Define.
|
||||||
|
(OVERLAPPED): Add __MINGW_EXTENSION around nameless union /
|
||||||
|
struct to correct issue with -std=c99.
|
||||||
|
|
||||||
2011-03-02 Corinna Vinschen <corinna@vinschen.de>
|
2011-03-02 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
|
* include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
|
#define __MINGW_EXTENSION __extension__
|
||||||
|
#else
|
||||||
|
#define __MINGW_EXTENSION
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WINBASEAPI
|
#ifndef WINBASEAPI
|
||||||
#ifdef __W32API_USE_DLLIMPORT__
|
#ifdef __W32API_USE_DLLIMPORT__
|
||||||
#define WINBASEAPI DECLSPEC_IMPORT
|
#define WINBASEAPI DECLSPEC_IMPORT
|
||||||
|
@ -833,8 +839,8 @@ typedef struct _DEBUG_EVENT {
|
||||||
typedef struct _OVERLAPPED {
|
typedef struct _OVERLAPPED {
|
||||||
ULONG_PTR Internal;
|
ULONG_PTR Internal;
|
||||||
ULONG_PTR InternalHigh;
|
ULONG_PTR InternalHigh;
|
||||||
union {
|
__MINGW_EXTENSION union {
|
||||||
struct {
|
__MINGW_EXTENSION struct {
|
||||||
DWORD Offset;
|
DWORD Offset;
|
||||||
DWORD OffsetHigh;
|
DWORD OffsetHigh;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue