summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2006-06-14 15:21:11 (GMT)
committerpatthoyts <patthoyts@noemail.net>2006-06-14 15:21:11 (GMT)
commit26def5e28a2449cd4807761ea7bc0c2a58e6e283 (patch)
treeb7f93c0f3fad3eccfb16e8fcd337ce453d85e1c7 /generic/tcl.h
parent93426f291c215a592a4fa06ce6e9d6dcce1d4227 (diff)
downloadtcl-26def5e28a2449cd4807761ea7bc0c2a58e6e283.zip
tcl-26def5e28a2449cd4807761ea7bc0c2a58e6e283.tar.gz
tcl-26def5e28a2449cd4807761ea7bc0c2a58e6e283.tar.bz2
Enable building Tcl with Microsoft's latest compiler offering
(VS2005). We have to handle a number of oddities as they have deprecated most of the standard C library and now generate manifest files to be linked into the binaries. SF bug #1424909 FossilOrigin-Name: f0865d186be22364b93769489cba19c7df78ef9f
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 5d7f192..f960ea0 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tcl.h,v 1.153.2.24 2006/05/30 00:29:38 hobbs Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.153.2.25 2006/06/14 15:21:14 patthoyts Exp $
*/
#ifndef _TCL
@@ -385,7 +385,11 @@ typedef struct stati64 Tcl_StatBuf;
# define TCL_LL_MODIFIER "L"
# define TCL_LL_MODIFIER_SIZE 1
# else /* __BORLANDC__ */
+# if _MSC_VER < 1400
typedef struct _stati64 Tcl_StatBuf;
+# else
+typedef struct _stat64 Tcl_StatBuf;
+# endif /* _MSC_VER < 1400 */
# define TCL_LL_MODIFIER "I64"
# define TCL_LL_MODIFIER_SIZE 3
# endif /* __BORLANDC__ */