diff options
author | dgp <dgp@users.sourceforge.net> | 2018-03-07 15:13:07 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2018-03-07 15:13:07 (GMT) |
commit | 6de6ee8aa9086eb2b86d82e6831dae17232abca4 (patch) | |
tree | 3633d2b708dc8670f3d1b18e1b6ffb2eeecd23b8 /generic/tclIntPlatDecls.h | |
parent | e16df96d28704115312eee43ffc5019a766d2cfd (diff) | |
parent | 0254080ca07929caa2f2b25206928d5559048aff (diff) | |
download | tcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.zip tcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.tar.gz tcl-6de6ee8aa9086eb2b86d82e6831dae17232abca4.tar.bz2 |
merge 8.7
Diffstat (limited to 'generic/tclIntPlatDecls.h')
-rw-r--r-- | generic/tclIntPlatDecls.h | 16 |
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)) |