Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
e4f560bb01
  1. 4
      win/mingw.h

4
win/mingw.h

@ -6,7 +6,7 @@
#define _USE_W32_SOCKETS 1
#include <windows.h>
#include <pthread.h>
/*
#define ENOTCONN WSAENOTCONN
#define EWOULDBLOCK WSAEWOULDBLOCK
#define ENOBUFS WSAENOBUFS
@ -18,7 +18,7 @@
#define EISCONN WSAEISCONN
#define ECONNREFUSED WSAECONNREFUSED
#define EHOSTUNREACH WSAEHOSTUNREACH
*/
/* winsock doesn't feature poll(), so there is a version implemented
* in terms of select() in mingw.c. The following definitions

Loading…
Cancel
Save