projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9859e04
)
Convert to use winsock2.h instead of winsock.h.
author
Chris Hanson
<org/chris-hanson/cph>
Mon, 14 Dec 2009 10:05:46 +0000
(
02:05
-0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Mon, 14 Dec 2009 10:05:46 +0000
(
02:05
-0800)
src/microcode/ntsock.c
patch
|
blob
|
history
diff --git
a/src/microcode/ntsock.c
b/src/microcode/ntsock.c
index 68dd2fe119e2003e1a0706441437cd66c05db18d..ef8d4cdbc69e533e704051ebacb37d8bf5d29949 100644
(file)
--- a/
src/microcode/ntsock.c
+++ b/
src/microcode/ntsock.c
@@
-26,13
+26,16
@@
USA.
/* This conditional encompasses the entire file. */
#ifndef DISABLE_SOCKET_SUPPORT
+/* Needed for winsock2 include below. */
+#define WIN32_LEAN_AND_MEAN
+
#include "scheme.h"
#include "prims.h"
#include "nt.h"
#include "ntio.h"
#include "uxsock.h"
-#include <winsock.h>
+#include <winsock
2
.h>
channel_class_t * NT_channel_class_tcp_stream_socket;
channel_class_t * NT_channel_class_tcp_server_socket;