From d44a1d08673c6f78df162a76616152fc2ea7cbd5 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 11 Aug 2011 23:10:08 -0400 Subject: Fixed Windows runtime problems --- src/win32/anope_windows.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/win32') diff --git a/src/win32/anope_windows.h b/src/win32/anope_windows.h index 4fe1b11e5..db5f21300 100644 --- a/src/win32/anope_windows.h +++ b/src/win32/anope_windows.h @@ -43,6 +43,10 @@ #define vsnprintf _vsnprintf #define stat _stat #define S_ISREG(x) ((x) & _S_IFREG) +#ifdef EINPROGRESS +# undef EINPROGRESS +#endif +#define EINPROGRESS WSAEWOULDBLOCK #include "sigaction/sigaction.h" -- cgit