changeset 15355:6bb377ef707f

(Fopen_network_stream)[WINDOWSNT]: Ensure Windows socket library is loaded if available.
author Richard M. Stallman <rms@gnu.org>
date Sat, 08 Jun 1996 00:14:31 +0000
parents 0e45e7d8bfdf
children 1a917c5d944c
files src/process.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Fri Jun 07 23:07:00 1996 +0000
+++ b/src/process.c	Sat Jun 08 00:14:31 1996 +0000
@@ -1634,6 +1634,11 @@
   int retry = 0;
   int count = specpdl_ptr - specpdl;
 
+#ifdef WINDOWSNT
+  /* Ensure socket support is loaded if available. */
+  init_winsock (TRUE);
+#endif
+
   GCPRO4 (name, buffer, host, service);
   CHECK_STRING (name, 0);
   CHECK_STRING (host, 0);