summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
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 1bfdae0..bd720ff 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -393,8 +393,12 @@ typedef struct _stat32i64 Tcl_StatBuf;
# define TCL_WIDE_INT_TYPE long long
# define TCL_LL_MODIFIER "ll"
# define TCL_LL_MODIFIER_SIZE 2
+# if defined(__WIN32__)
+typedef struct _stat32i64 Tcl_StatBuf;
+# else
typedef struct stat Tcl_StatBuf;
-# else /* __WIN32__ */
+# endif
+# else /* ! __WIN32__ && ! __GNUC__ */
/*
* Don't know what platform it is and configure hasn't discovered what
* is going on for us. Try to guess...