summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2008-02-22 11:50:53 (GMT)
committerpatthoyts <patthoyts@noemail.net>2008-02-22 11:50:53 (GMT)
commitdfa3a27add1ee9ba728c1dc77d093097f63a3eb4 (patch)
tree00a04f61666578d6edf0d0b3fe13d75949c9204e /win/tclWinSock.c
parentf5f7e37561adf5e5ff154f739a4520cebed7ea98 (diff)
downloadtcl-dfa3a27add1ee9ba728c1dc77d093097f63a3eb4.zip
tcl-dfa3a27add1ee9ba728c1dc77d093097f63a3eb4.tar.gz
tcl-dfa3a27add1ee9ba728c1dc77d093097f63a3eb4.tar.bz2
Add a linker hint for msvc to include ws2_32.lib
FossilOrigin-Name: 1dbfc6476e036305b95d35cb996c7f665aee4556
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index af24fdf..ff94767 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -8,11 +8,15 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinSock.c,v 1.61 2007/12/13 15:28:44 dgp Exp $
+ * RCS: @(#) $Id: tclWinSock.c,v 1.62 2008/02/22 11:50:54 patthoyts Exp $
*/
#include "tclWinInt.h"
+#ifdef _MSC_VER
+# pragma comment (lib, "ws2_32")
+#endif
+
/*
* Support for control over sockets' KEEPALIVE and NODELAY behavior is
* currently disabled.