author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
/* |
sl@0 | 2 |
* tclMacCommonPch.h -- |
sl@0 | 3 |
* |
sl@0 | 4 |
* Macintosh Tcl must be compiled with certain compiler options to |
sl@0 | 5 |
* ensure that it will work correctly. The following pragmas are |
sl@0 | 6 |
* used to ensure that those options are set correctly. An error |
sl@0 | 7 |
* will occur at compile time if they are not set correctly. |
sl@0 | 8 |
* |
sl@0 | 9 |
* Copyright (c) 1998 by Scriptics Corporation. |
sl@0 | 10 |
* |
sl@0 | 11 |
* See the file "license.terms" for information on usage and redistribution |
sl@0 | 12 |
* of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
sl@0 | 13 |
* |
sl@0 | 14 |
* RCS: @(#) $Id: tclMacCommonPch.h,v 1.3 2001/11/23 01:27:24 das Exp $ |
sl@0 | 15 |
*/ |
sl@0 | 16 |
|
sl@0 | 17 |
#if !__option(enumsalwaysint) |
sl@0 | 18 |
#error Tcl requires the Metrowerks setting "Enums always ints". |
sl@0 | 19 |
#endif |
sl@0 | 20 |
|
sl@0 | 21 |
|
sl@0 | 22 |
#if !defined(__POWERPC__) |
sl@0 | 23 |
#if !__option(far_data) |
sl@0 | 24 |
#error Tcl requires the Metrowerks setting "Far data". |
sl@0 | 25 |
#endif |
sl@0 | 26 |
#endif |
sl@0 | 27 |
|
sl@0 | 28 |
|
sl@0 | 29 |
#if !defined(__POWERPC__) |
sl@0 | 30 |
#if !__option(fourbyteints) |
sl@0 | 31 |
#error Tcl requires the Metrowerks setting "4 byte ints". |
sl@0 | 32 |
#endif |
sl@0 | 33 |
#endif |
sl@0 | 34 |
|
sl@0 | 35 |
|
sl@0 | 36 |
#if !defined(__POWERPC__) |
sl@0 | 37 |
#if !__option(IEEEdoubles) |
sl@0 | 38 |
#error Tcl requires the Metrowerks setting "8 byte doubles". |
sl@0 | 39 |
#endif |
sl@0 | 40 |
#endif |
sl@0 | 41 |
|
sl@0 | 42 |
|
sl@0 | 43 |
/* |
sl@0 | 44 |
* The define is used most everywhere to tell Tcl (or any Tcl |
sl@0 | 45 |
* extensions) that we are compiling for the Macintosh platform. |
sl@0 | 46 |
*/ |
sl@0 | 47 |
|
sl@0 | 48 |
|
sl@0 | 49 |
#define MAC_TCL |
sl@0 | 50 |
|
sl@0 | 51 |
|
sl@0 | 52 |
/* |
sl@0 | 53 |
* Define the following symbol if you want |
sl@0 | 54 |
* comprehensive debugging turned on. |
sl@0 | 55 |
*/ |
sl@0 | 56 |
|
sl@0 | 57 |
|
sl@0 | 58 |
/* #define TCL_DEBUG */ |
sl@0 | 59 |
|
sl@0 | 60 |
|
sl@0 | 61 |
#ifdef TCL_DEBUG |
sl@0 | 62 |
# define TCL_MEM_DEBUG |
sl@0 | 63 |
# define TCL_TEST |
sl@0 | 64 |
#endif |
sl@0 | 65 |
|
sl@0 | 66 |
|
sl@0 | 67 |
/* |
sl@0 | 68 |
* for Metrowerks Pro 6 MSL |
sl@0 | 69 |
*/ |
sl@0 | 70 |
|
sl@0 | 71 |
#include <UseDLLPrefix.h> |