summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorTomasz Konojacki <me@xenu.pl>2023-03-10 01:12:58 +0100
committerxenu <me@xenu.pl>2023-03-17 09:26:39 +0100
commit8a548d15292f2166cb07a69fc5fc943391b7fba5 (patch)
treebc5f62672879c5ba9900354ea70aeb5c931ef0c0 /win32/win32.h
parentc1cac033a542bfd8a5ab0a5152c35f0b07cc3024 (diff)
downloadperl-8a548d15292f2166cb07a69fc5fc943391b7fba5.tar.gz
win32: initialise winsock unconditionally
The next commit needs it. Also, I don't think this optimisation is worth the trouble.
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/win32/win32.h b/win32/win32.h
index da83afb682..c184b9f5f5 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -15,12 +15,6 @@
/* Win32 only optimizations for faster building */
#ifdef PERL_IS_MINIPERL
-/* this macro will remove Winsock only on miniperl, PERL_IMPLICIT_SYS and
- * makedef.pl create dependencies that will keep Winsock linked in even with
- * this macro defined, even though sockets will be umimplemented from a script
- * level in full perl
- */
-# define WIN32_NO_SOCKETS
/* less I/O calls during each require */
# define PERL_DISABLE_PMC
@@ -31,29 +25,6 @@
# define PERL_TEXTMODE_SCRIPTS
#endif
-#ifdef WIN32_NO_SOCKETS
-# undef HAS_SOCKET
-# undef HAS_GETPROTOBYNAME
-# undef HAS_GETPROTOBYNUMBER
-# undef HAS_GETPROTOENT
-# undef HAS_GETNETBYNAME
-# undef HAS_GETNETBYADDR
-# undef HAS_GETNETENT
-# undef HAS_GETSERVBYNAME
-# undef HAS_GETSERVBYPORT
-# undef HAS_GETSERVENT
-# undef HAS_GETHOSTBYNAME
-# undef HAS_GETHOSTBYADDR
-# undef HAS_GETHOSTENT
-# undef HAS_SELECT
-# undef HAS_IOCTL
-# undef HAS_NTOHL
-# undef HAS_HTONL
-# undef HAS_HTONS
-# undef HAS_NTOHS
-# define WIN32SCK_IS_STDSCK
-#endif
-
#if defined(PERL_IMPLICIT_SYS)
# define DYNAMIC_ENV_FETCH
# define HAS_GETENV_LEN