From: Nick Ing-Simmons Date: Sat, 29 Dec 2001 17:00:38 +0000 (+0000) Subject: Define the two socket error numbers in terms of WSAEXXXXX equivalents X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4fb841ef8b04e5aa481a43c3c82397c8c4f1ccfa;p=p5sagit%2Fp5-mst-13.2.git Define the two socket error numbers in terms of WSAEXXXXX equivalents (just to get util.c to compile) p4raw-id: //depot/perlio@13931 --- diff --git a/win32/win32.h b/win32/win32.h index 6bbd2f2..ecab6a0 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 */