+#ifdef _WIN32
+#include <winsock2.h>
+#endif
#include <cerrno>
#include <msp/core/refptr.h>
#include <msp/core/systemerror.h>
if(err==-1)
throw system_error("listen");
-#ifdef WIN32
+#ifdef _WIN32
WSAEventSelect(priv->handle, *priv->event, FD_ACCEPT);
#endif
set_events(IO::P_INPUT);