OSDN Git Service

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