Update to 8.5.19
This commit is contained in:
@@ -346,17 +346,17 @@ typedef DWORD_PTR * PDWORD_PTR;
|
||||
* EDEADLK as the same value, which confuses Tcl_ErrnoId().
|
||||
*/
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#if defined(_MSC_VER) || defined(__MSVCRT__)
|
||||
# define environ _environ
|
||||
# if defined(_MSC_VER) && (_MSC_VER < 1600)
|
||||
# define hypot _hypot
|
||||
# endif
|
||||
# define exception _exception
|
||||
# undef EDEADLOCK
|
||||
# if defined(__MINGW32__) && !defined(__MSVCRT__)
|
||||
# if defined(_MSC_VER) && (_MSC_VER >= 1700)
|
||||
# define timezone _timezone
|
||||
# endif
|
||||
#endif /* _MSC_VER || __MINGW32__ */
|
||||
#endif /* _MSC_VER || __MSVCRT__ */
|
||||
|
||||
/*
|
||||
* Borland's timezone and environ functions.
|
||||
@@ -425,7 +425,7 @@ typedef DWORD_PTR * PDWORD_PTR;
|
||||
* Msvcrt's putenv() copies the string rather than takes ownership of it.
|
||||
*/
|
||||
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#if defined(_MSC_VER) || defined(__MSVCRT__)
|
||||
# define HAVE_PUTENV_THAT_COPIES 1
|
||||
#endif
|
||||
|
||||
@@ -448,15 +448,6 @@ typedef DWORD_PTR * PDWORD_PTR;
|
||||
#define TclpSysRealloc(ptr, size) ((void*)HeapReAlloc(GetProcessHeap(), \
|
||||
(DWORD)0, (LPVOID)ptr, (DWORD)size))
|
||||
|
||||
/*
|
||||
* The following defines map from standard socket names to our internal
|
||||
* wrappers that redirect through the winSock function table (see the
|
||||
* file tclWinSock.c).
|
||||
*/
|
||||
|
||||
#define getservbyname TclWinGetServByName
|
||||
#define getsockopt TclWinGetSockOpt
|
||||
#define setsockopt TclWinSetSockOpt
|
||||
/* This type is not defined in the Windows headers */
|
||||
#define socklen_t int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user