Tcl Source Code

Check-in [29cb474297]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[Bug 3372130] Fix hypot math function with MSVC10
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 29cb474297e6e2515c67f7260a9d7162a422c0a7
User & Date: jan.nijtmans 2011-07-21 16:19:11
Context
2011-07-21
16:27
oops, leftover end comment check-in: f2bb3c8455 user: jan.nijtmans tags: core-8-4-branch
16:19
[Bug 3372130] Fix hypot math function with MSVC10 check-in: 29cb474297 user: jan.nijtmans tags: core-8-4-branch
2011-07-15
17:50
Avoid segfaults when RecordByteCodeStats() is called in a deleted interp. check-in: 5313bef77f user: dgp tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.





1
2
3
4
5
6
7




2011-07-15  Don Porter  <[email protected]>

	* generic/tclCompile.c: Avoid segfaults when RecordByteCodeStats()
	is called in a deleted interp.

2011-07-13  Don Porter  <[email protected]>

>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
2011-07-21  Jan Nijtmans  <[email protected]>

	* win/tclWinPort.h: [Bug 3372130] Fix hypot math function with MSVC10

2011-07-15  Don Porter  <[email protected]>

	* generic/tclCompile.c: Avoid segfaults when RecordByteCodeStats()
	is called in a deleted interp.

2011-07-13  Don Porter  <[email protected]>

Changes to win/tclWinPort.h.

385
386
387
388
389
390
391

392

393
394
395
396
397
398
399
 * Visual C++ has some odd names for common functions, so we need to
 * define a few macros to handle them.  Also, it defines EDEADLOCK and
 * EDEADLK as the same value, which confuses Tcl_ErrnoId().
 */

#if defined(_MSC_VER) || defined(__MINGW32__)
#    define environ _environ

#    define hypot _hypot

#    define exception _exception
#    undef EDEADLOCK
#    if defined(__MINGW32__) && !defined(__MSVCRT__)
#	define timezone _timezone
#    endif
#endif /* _MSC_VER || __MINGW32__ */








>
|
>







385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
 * Visual C++ has some odd names for common functions, so we need to
 * define a few macros to handle them.  Also, it defines EDEADLOCK and
 * EDEADLK as the same value, which confuses Tcl_ErrnoId().
 */

#if defined(_MSC_VER) || defined(__MINGW32__)
#    define environ _environ
#    if defined(_MSC_VER) && (_MSC_VER < 1600)
#	define hypot _hypot
#    endif*/
#    define exception _exception
#    undef EDEADLOCK
#    if defined(__MINGW32__) && !defined(__MSVCRT__)
#	define timezone _timezone
#    endif
#endif /* _MSC_VER || __MINGW32__ */