diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-02-22 11:50:54 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-02-22 11:50:54 (GMT) |
commit | 27be8caf52c5e17142a83ab813d24074a6e1fbee (patch) | |
tree | 00a04f61666578d6edf0d0b3fe13d75949c9204e | |
parent | 9c4dbb88d7e4bb7dcffb0116a219bd6d09c28673 (diff) | |
download | tcl-27be8caf52c5e17142a83ab813d24074a6e1fbee.zip tcl-27be8caf52c5e17142a83ab813d24074a6e1fbee.tar.gz tcl-27be8caf52c5e17142a83ab813d24074a6e1fbee.tar.bz2 |
Add a linker hint for msvc to include ws2_32.lib
-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. |