diff options
| author | Juanma Barranquero | 2006-11-13 10:59:04 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-13 10:59:04 +0000 |
| commit | bc28de715d58aa574f93a5a2a28a72ca8bb724dc (patch) | |
| tree | b65908f92c1feff31ba01042c0db592093ddfa4a /lib-src | |
| parent | 2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61 (diff) | |
| download | emacs-bc28de715d58aa574f93a5a2a28a72ca8bb724dc.tar.gz emacs-bc28de715d58aa574f93a5a2a28a72ca8bb724dc.zip | |
[WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 7cf703d40d1..a22fd1a8133 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -28,10 +28,17 @@ Boston, MA 02110-1301, USA. */ | |||
| 28 | 28 | ||
| 29 | #ifdef WINDOWSNT | 29 | #ifdef WINDOWSNT |
| 30 | 30 | ||
| 31 | /* config.h defines these, which disables sockets altogether! */ | ||
| 32 | # undef _WINSOCKAPI_ | ||
| 33 | # undef _WINSOCK_H | ||
| 34 | |||
| 31 | # include <malloc.h> | 35 | # include <malloc.h> |
| 32 | # include <stdlib.h> | 36 | # include <stdlib.h> |
| 33 | 37 | ||
| 34 | # define HAVE_SOCKETS | 38 | # ifndef HAVE_SOCKETS |
| 39 | # define HAVE_SOCKETS | ||
| 40 | # endif | ||
| 41 | |||
| 35 | # define HAVE_INET_SOCKETS | 42 | # define HAVE_INET_SOCKETS |
| 36 | # define NO_SOCKETS_IN_FILE_SYSTEM | 43 | # define NO_SOCKETS_IN_FILE_SYSTEM |
| 37 | 44 | ||