sl@0: /* sl@0: * tclMacCommonPch.h -- sl@0: * sl@0: * Macintosh Tcl must be compiled with certain compiler options to sl@0: * ensure that it will work correctly. The following pragmas are sl@0: * used to ensure that those options are set correctly. An error sl@0: * will occur at compile time if they are not set correctly. sl@0: * sl@0: * Copyright (c) 1998 by Scriptics Corporation. sl@0: * sl@0: * See the file "license.terms" for information on usage and redistribution sl@0: * of this file, and for a DISCLAIMER OF ALL WARRANTIES. sl@0: * sl@0: * RCS: @(#) $Id: tclMacCommonPch.h,v 1.3 2001/11/23 01:27:24 das Exp $ sl@0: */ sl@0: sl@0: #if !__option(enumsalwaysint) sl@0: #error Tcl requires the Metrowerks setting "Enums always ints". sl@0: #endif sl@0: sl@0: sl@0: #if !defined(__POWERPC__) sl@0: #if !__option(far_data) sl@0: #error Tcl requires the Metrowerks setting "Far data". sl@0: #endif sl@0: #endif sl@0: sl@0: sl@0: #if !defined(__POWERPC__) sl@0: #if !__option(fourbyteints) sl@0: #error Tcl requires the Metrowerks setting "4 byte ints". sl@0: #endif sl@0: #endif sl@0: sl@0: sl@0: #if !defined(__POWERPC__) sl@0: #if !__option(IEEEdoubles) sl@0: #error Tcl requires the Metrowerks setting "8 byte doubles". sl@0: #endif sl@0: #endif sl@0: sl@0: sl@0: /* sl@0: * The define is used most everywhere to tell Tcl (or any Tcl sl@0: * extensions) that we are compiling for the Macintosh platform. sl@0: */ sl@0: sl@0: sl@0: #define MAC_TCL sl@0: sl@0: sl@0: /* sl@0: * Define the following symbol if you want sl@0: * comprehensive debugging turned on. sl@0: */ sl@0: sl@0: sl@0: /* #define TCL_DEBUG */ sl@0: sl@0: sl@0: #ifdef TCL_DEBUG sl@0: # define TCL_MEM_DEBUG sl@0: # define TCL_TEST sl@0: #endif sl@0: sl@0: sl@0: /* sl@0: * for Metrowerks Pro 6 MSL sl@0: */ sl@0: sl@0: #include