1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Drop wsockcompat.h header its not part of msvc

I don't see a wsockcompat.h anywhere in MSVC9 or MSVC8 and their
corresponding sdk's. It does not seem like this is a standard windows
header, so better drop that and add the compat-defines to the same
place that already has other WSA compat defines.
This commit is contained in:
Andreas Pakulat 2013-10-28 15:15:44 +01:00
parent 9b8a29f8ca
commit e2b37a776d

View file

@ -60,6 +60,12 @@
#ifndef EWOULDBLOCK
#define EWOULDBLOCK EAGAIN
#endif
#ifndef EALREADY
#define EALREADY WSAEALREADY
#endif
#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
#define compatible_close(fd) closesocket(fd);
#ifdef __MINGW64__
@ -70,7 +76,6 @@
#endif
#endif
#include <winsock2.h>
#include <wsockcompat.h>
#include <ws2ipdef.h>
#include <windows.h>
#else