summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2009-04-29 15:24:16 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2009-04-29 15:24:16 (GMT)
commit268de519126607c8691aea2e50f22ffee53dab6a (patch)
treed6d7e02a2f344708e489bf56ca0f72e5524e166b /generic
parentbd059b3e984f4ed7094e35e91d6298cee7f4342f (diff)
downloadtcl-268de519126607c8691aea2e50f22ffee53dab6a.zip
tcl-268de519126607c8691aea2e50f22ffee53dab6a.tar.gz
tcl-268de519126607c8691aea2e50f22ffee53dab6a.tar.bz2
Revert last commit which fails to build with msvc2005 and msvc6
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 dd3dc41..a57d683 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -14,7 +14,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.290 2009/04/29 14:57:01 dkf Exp $
+ * RCS: @(#) $Id: tcl.h,v 1.291 2009/04/29 15:24:20 patthoyts Exp $
*/
#ifndef _TCL
@@ -380,12 +380,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(_WIN64)
+# else /* __BORLANDC__ */
+# if _MSC_VER < 1400 || !defined(_M_IX86)
typedef struct _stati64 Tcl_StatBuf;
# else
typedef struct _stat64 Tcl_StatBuf;
-# endif /* _MSC_VER < 1400 && _WIN64 */
+# endif /* _MSC_VER < 1400 */
# define TCL_LL_MODIFIER "I64"
# endif /* __BORLANDC__ */
# else /* __WIN32__ */