summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-04-29 14:59:34 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-04-29 14:59:34 (GMT)
commitc8dbde43253b501eae4a908359215b0a2c51f036 (patch)
tree4ff7a286326965fd85d924a55946357241d8bc1b /generic
parent382ee9f9c2dc48ff4067ef850db1cb5b2d2394ce (diff)
downloadtcl-c8dbde43253b501eae4a908359215b0a2c51f036.zip
tcl-c8dbde43253b501eae4a908359215b0a2c51f036.tar.gz
tcl-c8dbde43253b501eae4a908359215b0a2c51f036.tar.bz2
Fix [Bug 2651823].
Diffstat (limited to 'generic')
-rw-r--r--generic/tcl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 184c0bb..a86e2f9 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.254.2.9 2009/04/10 16:54:51 dgp Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.254.2.10 2009/04/29 14:59:34 dkf Exp $
*/
#ifndef _TCL
@@ -367,12 +367,12 @@ typedef struct stat Tcl_StatBuf;
# ifdef __BORLANDC__
typedef struct stati64 Tcl_StatBuf;
# define TCL_LL_MODIFIER "L"
-# else /* __BORLANDC__ */
-# if _MSC_VER < 1400 || !defined(_M_IX86)
+# else /* !__BORLANDC__ */
+# if _MSC_VER < 1400 && defined(_WIN64)
typedef struct _stati64 Tcl_StatBuf;
# else
typedef struct _stat64 Tcl_StatBuf;
-# endif /* _MSC_VER < 1400 */
+# endif /* _MSC_VER < 1400 && _WIN64 */
# define TCL_LL_MODIFIER "I64"
# endif /* __BORLANDC__ */
# else /* __WIN32__ */