summaryrefslogtreecommitdiffstats
path: root/generic/tclIntPlatDecls.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-03-07 15:13:07 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-03-07 15:13:07 (GMT)
commit6de6ee8aa9086eb2b86d82e6831dae17232abca4 (patch)
tree3633d2b708dc8670f3d1b18e1b6ffb2eeecd23b8 /generic/tclIntPlatDecls.h
parente16df96d28704115312eee43ffc5019a766d2cfd (diff)
parent0254080ca07929caa2f2b25206928d5559048aff (diff)
downloadtcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.zip
tcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.tar.gz
tcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.tar.bz2
merge 8.7
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r--generic/tclIntPlatDecls.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/generic/tclIntPlatDecls.h b/generic/tclIntPlatDecls.h
index 1222cee..0e160ca 100644
--- a/generic/tclIntPlatDecls.h
+++ b/generic/tclIntPlatDecls.h
@@ -555,12 +555,18 @@ extern const TclIntPlatStubs *tclIntPlatStubsPtr;
# undef TclWinGetServByName
# undef TclWinGetSockOpt
# undef TclWinSetSockOpt
-# define TclWinNToHS ntohs
-# define TclWinGetServByName getservbyname
-# define TclWinGetSockOpt getsockopt
-# define TclWinSetSockOpt setsockopt
# undef TclWinGetPlatformId
-# define TclWinGetPlatformId() (2) /* VER_PLATFORM_WIN32_NT */
+# undef TclWinResetInterfaces
+# undef TclWinSetInterfaces
+# if !defined(TCL_NO_DEPRECATED) && TCL_MAJOR_VERSION < 9
+# define TclWinNToHS ntohs
+# define TclWinGetServByName getservbyname
+# define TclWinGetSockOpt getsockopt
+# define TclWinSetSockOpt setsockopt
+# define TclWinGetPlatformId() (2) /* VER_PLATFORM_WIN32_NT */
+# define TclWinResetInterfaces() /* nop */
+# define TclWinSetInterfaces(dummy) /* nop */
+# endif /* TCL_NO_DEPRECATED */
#else
# undef TclpGetPid
# define TclpGetPid(pid) ((unsigned long) (pid))