summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-08-24 06:33:04 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-08-24 06:33:04 (GMT)
commitc3529c853126c1fc29edfca66e0b88a3ee8c51eb (patch)
treee9307947c3d5dddf03ef7e5a82cad587c32eaff6 /generic/tclStubInit.c
parent546d87944aa96f7a7b0e8e537f0ba117141ff35c (diff)
parentd44ebaa91d3303249927bc2b406b17cf966afe5e (diff)
downloadtcl-c3529c853126c1fc29edfca66e0b88a3ee8c51eb.zip
tcl-c3529c853126c1fc29edfca66e0b88a3ee8c51eb.tar.gz
tcl-c3529c853126c1fc29edfca66e0b88a3ee8c51eb.tar.bz2
make sure that extensions which might still use TclWinNToHS, now use ntohs directly.
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 4f562a7..0fc35d5 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -55,6 +55,7 @@ static int TclSockMinimumBuffersOld(int sock, int size)
#if defined(_WIN32) || defined(__CYGWIN__)
+#undef TclWinNToHS
#define TclWinNToHS winNToHS
static unsigned short TclWinNToHS(unsigned short ns) {
return ntohs(ns);