diff options
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index fbac80c..80bdd32 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.122 2002/03/24 11:41:48 vincentdarley Exp $ + * RCS: @(#) $Id: tcl.h,v 1.123 2002/04/08 09:02:38 das Exp $ */ #ifndef _TCL @@ -404,7 +404,9 @@ typedef TCL_WIDE_INT_TYPE Tcl_WideInt; typedef unsigned TCL_WIDE_INT_TYPE Tcl_WideUInt; #ifdef TCL_WIDE_INT_IS_LONG +# ifndef MAC_TCL # include <sys/types.h> +# endif typedef struct stat Tcl_StatBuf; # define Tcl_WideAsLong(val) ((long)(val)) # define Tcl_LongAsWide(val) ((long)(val)) @@ -412,7 +414,9 @@ typedef struct stat Tcl_StatBuf; # define Tcl_DoubleAsWide(val) ((long)((double)(val))) #else /* TCL_WIDE_INT_IS_LONG */ # ifndef __WIN32__ +# ifndef MAC_TCL # include <sys/types.h> +# endif # ifdef HAVE_STRUCT_STAT64 typedef struct stat64 Tcl_StatBuf; # else |