summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 6bbd2f23ed..ecab6a0c27 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -509,5 +509,12 @@ EXTERN_C _CRTIMP ioinfo* __pioinfo[];
#define EXEC_ARGV_CAST(x) ((const char *const *) x)
+#if !defined(ECONNABORTED) && defined(WSAECONNABORTED)
+#define ECONNABORTED WSAECONNABORTED
+#endif
+#if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT)
+#define EAFNOSUPPORT WSAEAFNOSUPPORT
+#endif
+
#endif /* _INC_WIN32_PERL5 */