mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bugzilla bug 363997: define the WSAOVERLAPPED type properly to fix MinGW
build failure. The patch is contributed by Martijn Wargers <martijn.martijn@gmail.com>. r=wtc.
This commit is contained in:
parent
874be4f9db
commit
7a4679101b
@ -77,13 +77,8 @@ typedef enum _WSA_COMPATIBILITY_BEHAVIOR_ID {
|
||||
/* from winsock2.h */
|
||||
#define WSAEVENT HANDLE
|
||||
|
||||
typedef struct _WSAOVERLAPPED {
|
||||
DWORD Internal;
|
||||
DWORD InternalHigh;
|
||||
DWORD Offset;
|
||||
DWORD OffsetHigh;
|
||||
WSAEVENT hEvent;
|
||||
} WSAOVERLAPPED, FAR * LPWSAOVERLAPPED;
|
||||
#define WSAOVERLAPPED OVERLAPPED
|
||||
typedef struct _OVERLAPPED * LPWSAOVERLAPPED;
|
||||
|
||||
typedef void (CALLBACK * LPWSAOVERLAPPED_COMPLETION_ROUTINE)(
|
||||
IN DWORD dwError,
|
||||
|
Loading…
Reference in New Issue
Block a user