summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authordas <das@noemail.net>2002-04-08 09:01:59 (GMT)
committerdas <das@noemail.net>2002-04-08 09:01:59 (GMT)
commitf7ba63b2570ec7da8b0bcaadd73bbb6bded69b7d (patch)
tree862099671ae61cb7366e579a4a370691d8ae40fc /generic/tcl.h
parent167c7a1f57677ace446695544550a69db90f5b38 (diff)
downloadtcl-f7ba63b2570ec7da8b0bcaadd73bbb6bded69b7d.zip
tcl-f7ba63b2570ec7da8b0bcaadd73bbb6bded69b7d.tar.gz
tcl-f7ba63b2570ec7da8b0bcaadd73bbb6bded69b7d.tar.bz2
2002-04-08 Daniel Steffen <das@users.sourceforge.net>
* generic/tcl.h: no <sys/types.h> on mac. * mac/tclMacFile.c: minor fixes to Vince's changes from 03-24. * mac/tclMacOSA.c: * mac/tclMacResource.c: added missing Tcl_UtfToExternalDString conversions of resource file names. * mac/tclMacSock.c (TcpGetOptionProc): fixed bug introduced by Andreas on 02-25; changed strcmp's to strncmp's so that option comparison behaves like on other platforms. * mac/tcltkMacBuildSupport.sea.hqx (CW Pro6 changes): added support to allow Tk to hookup C library stderr/stdout to TkConsole. * tests/basic.test: * tests/cmdAH.test: * tests/encoding.test: * tests/fileSystem.test: * tests/ioCmd.test: fixed tests failing on mac: check for existence of [exec], changed some result strings. FossilOrigin-Name: 3ae45d9135ce87686a3e3b1927650b352481bc93
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 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