Define the two socket error numbers in terms of WSAEXXXXX equivalents
Nick Ing-Simmons [Sat, 29 Dec 2001 17:00:38 +0000 (17:00 +0000)]
(just to get util.c to compile)

p4raw-id: //depot/perlio@13931

win32/win32.h

index 6bbd2f2..ecab6a0 100644 (file)
@@ -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 */