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:
wtchang%redhat.com 2007-03-15 20:20:37 +00:00
parent 874be4f9db
commit 7a4679101b

View File

@ -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,