diff options
author | Adam <Adam@anope.org> | 2011-08-11 23:10:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-08-11 23:10:08 -0400 |
commit | d44a1d08673c6f78df162a76616152fc2ea7cbd5 (patch) | |
tree | db1819fa65c3f84ec5e630441052f73127e194b6 /src/win32/anope_windows.h | |
parent | c2780e1de47b4aead8ca5e2c7a7675ea987a9bb4 (diff) |
Fixed Windows runtime problems
Diffstat (limited to 'src/win32/anope_windows.h')
-rw-r--r-- | src/win32/anope_windows.h | 4 |
1 files changed, 4 insertions, 0 deletions
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"
|