diff options
author | patthoyts <patthoyts@noemail.net> | 2008-02-22 11:50:53 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2008-02-22 11:50:53 (GMT) |
commit | dfa3a27add1ee9ba728c1dc77d093097f63a3eb4 (patch) | |
tree | 00a04f61666578d6edf0d0b3fe13d75949c9204e /win/tclWinSock.c | |
parent | f5f7e37561adf5e5ff154f739a4520cebed7ea98 (diff) | |
download | tcl-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.c | 6 |
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. |