Mercurial > emacs
comparison src/process.c @ 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 | 5372670fbe59 |
| children | 6229fb866493 |
comparison
equal
deleted
inserted
replaced
| 15354:0e45e7d8bfdf | 15355:6bb377ef707f |
|---|---|
| 1631 int port; | 1631 int port; |
| 1632 struct hostent host_info_fixed; | 1632 struct hostent host_info_fixed; |
| 1633 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | 1633 struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; |
| 1634 int retry = 0; | 1634 int retry = 0; |
| 1635 int count = specpdl_ptr - specpdl; | 1635 int count = specpdl_ptr - specpdl; |
| 1636 | |
| 1637 #ifdef WINDOWSNT | |
| 1638 /* Ensure socket support is loaded if available. */ | |
| 1639 init_winsock (TRUE); | |
| 1640 #endif | |
| 1636 | 1641 |
| 1637 GCPRO4 (name, buffer, host, service); | 1642 GCPRO4 (name, buffer, host, service); |
| 1638 CHECK_STRING (name, 0); | 1643 CHECK_STRING (name, 0); |
| 1639 CHECK_STRING (host, 0); | 1644 CHECK_STRING (host, 0); |
| 1640 if (INTEGERP (service)) | 1645 if (INTEGERP (service)) |
