summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/include/sys/socket.h4
-rw-r--r--win32/win32.h11
2 files changed, 0 insertions, 15 deletions
diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h
index a396f00584..53abf0cd21 100644
--- a/win32/include/sys/socket.h
+++ b/win32/include/sys/socket.h
@@ -82,10 +82,6 @@
extern "C" {
#endif
-#ifndef ENOTSOCK
-#define ENOTSOCK WSAENOTSOCK
-#endif
-
#ifdef USE_SOCKETS_AS_HANDLES
#ifndef PERL_FD_SETSIZE
diff --git a/win32/win32.h b/win32/win32.h
index 204a380099..4c58b8c252 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -525,17 +525,6 @@ void win32_wait_for_children(pTHX);
#define EXEC_ARGV_CAST(x) ((const char *const *) x)
-#if !defined(ECONNABORTED) && defined(WSAECONNABORTED)
-#define ECONNABORTED WSAECONNABORTED
-#endif
-#if !defined(ECONNRESET) && defined(WSAECONNRESET)
-#define ECONNRESET WSAECONNRESET
-#endif
-#if !defined(EAFNOSUPPORT) && defined(WSAEAFNOSUPPORT)
-#define EAFNOSUPPORT WSAEAFNOSUPPORT
-#endif
-/* Why not needed for ECONNREFUSED? --abe */
-
DllExport void *win32_signal_context(void);
#define PERL_GET_SIG_CONTEXT win32_signal_context()