Mercurial > emacs
diff lib-src/emacsclient.c @ 73973:a36e68eb4ae8
[WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 13 Nov 2006 10:59:04 +0000 |
parents | 09dabd95380c |
children | 7c6eb34059d6 |
line wrap: on
line diff
--- a/lib-src/emacsclient.c Mon Nov 13 10:25:40 2006 +0000 +++ b/lib-src/emacsclient.c Mon Nov 13 10:59:04 2006 +0000 @@ -28,10 +28,17 @@ #ifdef WINDOWSNT +/* config.h defines these, which disables sockets altogether! */ +# undef _WINSOCKAPI_ +# undef _WINSOCK_H + # include <malloc.h> # include <stdlib.h> -# define HAVE_SOCKETS +# ifndef HAVE_SOCKETS +# define HAVE_SOCKETS +# endif + # define HAVE_INET_SOCKETS # define NO_SOCKETS_IN_FILE_SYSTEM