diff options
author | nijtmans <nijtmans> | 2010-10-07 23:36:27 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-10-07 23:36:27 (GMT) |
commit | 5181f1fadc35eb6a02f813d321e35c11cbb6a6ae (patch) | |
tree | 6e879a8850df3676381b079f5bcf3008c4fad189 /generic/tclIOSock.c | |
parent | 27b03cb157f3b6d5840e7c007af48ce1f37035f9 (diff) | |
download | tcl-5181f1fadc35eb6a02f813d321e35c11cbb6a6ae.zip tcl-5181f1fadc35eb6a02f813d321e35c11cbb6a6ae.tar.gz tcl-5181f1fadc35eb6a02f813d321e35c11cbb6a6ae.tar.bz2 |
On Windows, use gai_strerrorA
Diffstat (limited to 'generic/tclIOSock.c')
-rw-r--r-- | generic/tclIOSock.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tclIOSock.c b/generic/tclIOSock.c index 15de01e..2780462 100644 --- a/generic/tclIOSock.c +++ b/generic/tclIOSock.c @@ -8,10 +8,16 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclIOSock.c,v 1.12 2010/09/28 15:13:54 rmax Exp $ + * RCS: @(#) $Id: tclIOSock.c,v 1.13 2010/10/07 23:36:27 nijtmans Exp $ */ #include "tclInt.h" + +#if defined(_WIN32) && defined(UNICODE) +/* On Windows, we always need the ASCII version. */ +# undef gai_strerror +# define gai_strerror gai_strerrorA +#endif /* *--------------------------------------------------------------------------- |