Differences From Artifact [43278d43d1]:
- File generic/tclIntPlatDecls.h — part of check-in [e0986c290f] at 2013-11-04 10:02:58 on branch core-8-5-branch — Put extern "C" guards around all stub table struct definitions, so it is usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct. (user: jan.nijtmans size: 27103)
To Artifact [30ee06ff0f]:
- File generic/tclIntPlatDecls.h — part of check-in [7e814eaa84] at 2014-04-16 09:28:54 on branch core-8-5-branch — Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x) (user: jan.nijtmans size: 27310)
| ︙ | |||
845 846 847 848 849 850 851 852 853 854 855 856 857 858 | 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 | + + + + + + | #undef TCL_STORAGE_CLASS #define TCL_STORAGE_CLASS DLLIMPORT #undef TclpLocaltime_unix #undef TclpGmtime_unix #if defined(__WIN32__) || defined(__CYGWIN__) # undef TclWinNToHS # undef TclWinGetServByName # undef TclWinGetSockOpt # undef TclWinSetSockOpt # define TclWinNToHS ntohs # define TclWinGetServByName getservbyname # define TclWinGetSockOpt getsockopt # define TclWinSetSockOpt setsockopt #else # undef TclpGetPid # define TclpGetPid(pid) ((unsigned long) (pid)) #endif #endif /* _TCLINTPLATDECLS */ |