summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorKen Takata <kentkt@csc.jp>2023-10-19 17:22:24 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-19 17:24:02 +0200
commitc6944913f0aa56cdfd9ad7464ab05d2815d9d815 (patch)
treebe9c1284d88d47e8bd20ea206c1f8e59717d2420 /src/if_perl.xs
parent00b55370b3adfc386ab27154df5c51410a099910 (diff)
patch 9.0.2052: win32: using deprecated wsock32 apiv9.0.2052
Problem: win32: using deprecated wsock32 api Solution: Use winsock2 (ws2_32) consistently win32: Stop using wsock32 We have already used ws2_32 (winsock2) and already dropped support for Windows 95 and NT4. So, we don't need to care about wsock32. Use ws2_32 consistently. closes: #13383 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index d88c3f3d99..dd504d384b 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -24,17 +24,6 @@
# define _USE_32BIT_TIME_T
#endif
-/*
- * Prevent including winsock.h. perl.h tries to detect whether winsock.h is
- * already included before including winsock2.h, because winsock2.h isn't
- * compatible with winsock.h. However the detection doesn't work with some
- * versions of MinGW. If WIN32_LEAN_AND_MEAN is defined, windows.h will not
- * include winsock.h.
- */
-#ifdef WIN32
-# define WIN32_LEAN_AND_MEAN
-#endif
-
#include "vim.h"
#ifdef _MSC_VER