Do not include Winsock.h before including nsock_internal.h (that

includes nbase_winconfig.h). Otherwise WSAEINTR doesn't get redefined
as EINTR as desired.
This commit is contained in:
henri 2012-10-22 15:43:30 +00:00
parent 588ee6db2b
commit aef88b5b1b

View file

@ -69,9 +69,7 @@
#ifndef WIN32
#include <poll.h>
#else
#include <Winsock2.h>
#endif /* ^WIN32 */
#endif
#include "nsock_internal.h"