summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-24 06:29:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-08-24 06:29:44 (GMT)
commite1f580d44308ba8f846d79d6d51ba1d8fc093712 (patch)
treef085ee55e4005509e47547479424160363661ee4 /generic/tclStubInit.c
parent1b1df98eb9755670524e036036bb887b86df8079 (diff)
downloadtcl-e1f580d44308ba8f846d79d6d51ba1d8fc093712.zip
tcl-e1f580d44308ba8f846d79d6d51ba1d8fc093712.tar.gz
tcl-e1f580d44308ba8f846d79d6d51ba1d8fc093712.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 6a3207b..d06e174 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -76,6 +76,7 @@ MODULE_SCOPE TclStubs tclStubs;
MODULE_SCOPE TclTomMathStubs tclTomMathStubs;
#if defined(_WIN32) || defined(__CYGWIN__)
+#undef TclWinNToHS
unsigned short TclWinNToHS(unsigned short ns) {
return ntohs(ns);
}