1#pragma once on 2 3#include "CoreHeadersMach-O.h" 4 5 6// These symbols are defined from MSL MacHeadersMach-O.h 7// (errno.h and stat.h are in the Kernel.framework) 8// and are redefined later in TclErrno.h : undef them 9// to avoid error message 10#undef EOVERFLOW 11#undef EOPNOTSUPP 12 13// This avoids the loading of stat.h from tclMacPort.h 14#define _MSL_STAT_H 15 16 17// --------------------------------------------------------------- 18// Replace #include "tclMacCommonPch.h" by its partial contents. 19#if !__option(enumsalwaysint) 20#error Tcl requires the Metrowerks setting "Enums always ints". 21#endif 22 23 24// Tell Tcl (or any Tcl extensions) that we are compiling for the Macintosh platform. 25#define MAC_TCL 26 27// --------------------------------------------------------------- 28 29#define USE_TCL_STUBS 1 30 31// See dom.h for this one: 32#define USE_NORMAL_ALLOCATOR 33 34#define TCL_MEM_DEBUG 35 36#define MAC_OSX_TCL 37 38#define TDOM_NO_UNKNOWN_CMD 39 40#define VERSION "0.8.3" 41 42#include <Tcl/tcl.h> 43