summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 15:07:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-18 15:07:18 (GMT)
commit21c3f3fee2248a43fbb197408bc7f106de4eaca0 (patch)
treecf7746a63216f18ebf06a35801494a47d5e4ea1b /generic/tcl.h
parent6b531a4b27fc7ceaccac59a4af913056f26c25cf (diff)
downloadtcl-21c3f3fee2248a43fbb197408bc7f106de4eaca0.zip
tcl-21c3f3fee2248a43fbb197408bc7f106de4eaca0.tar.gz
tcl-21c3f3fee2248a43fbb197408bc7f106de4eaca0.tar.bz2
Proposed solution for Bug 3598300 on MacOSX
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index 33730d4..5b23694 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -327,7 +327,6 @@ typedef long LONG;
# undef TCL_WIDE_INT_IS_LONG
# undef TCL_CFG_DO64BIT
# endif /* __LP64__ */
-# undef HAVE_STRUCT_STAT64
#endif /* __APPLE__ */
/*
@@ -436,7 +435,7 @@ typedef unsigned TCL_WIDE_INT_TYPE Tcl_WideUInt;
struct {long tv_sec;} st_ctim;
/* Here is a 4-byte gap */
} Tcl_StatBuf;
-#elif defined(HAVE_STRUCT_STAT64)
+#elif defined(HAVE_STRUCT_STAT64) && !defined(__APPLE__)
typedef struct stat64 Tcl_StatBuf;
#else
typedef struct stat Tcl_StatBuf;