summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-12-29 17:00:38 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-12-29 17:00:38 +0000
commit4fb841ef8b04e5aa481a43c3c82397c8c4f1ccfa (patch)
tree911266a0bc867b27aad7efb3f9f490c6c7e577b4 /win32/win32.h
parent706e3e0fa48b7eca83a252c56ee7190a42ea58bd (diff)
downloadperl-4fb841ef8b04e5aa481a43c3c82397c8c4f1ccfa.tar.gz
Define the two socket error numbers in terms of WSAEXXXXX equivalents
(just to get util.c to compile) p4raw-id: //depot/perlio@13931
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 */