diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-11-13 10:59:04 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-11-13 10:59:04 +0000 |
commit | bc28de715d58aa574f93a5a2a28a72ca8bb724dc (patch) | |
tree | b65908f92c1feff31ba01042c0db592093ddfa4a /lib-src/emacsclient.c | |
parent | 2c1459a04a3fbe8e65d445b8f8d055d3ffa8ee61 (diff) |
[WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
Diffstat (limited to 'lib-src/emacsclient.c')
-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 7cf703d40d..a22fd1a813 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -28,10 +28,17 @@ Boston, MA 02110-1301, USA. */ #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 |