OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [mac/] [tclMacCommonPch.h] - Blame information for rev 1767

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/*
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: tclMacCommonPch.h,v 1.1.1.1 2002-01-16 10:25:30 markom Exp $
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
* The following defines control the behavior of the Macintosh
54
* Universial Headers.
55
*/
56
 
57
 
58
#define SystemSevenOrLater 1
59
#define STRICT_CONTROLS 1
60
#define STRICT_WINDOWS 1
61
 
62
 
63
/*
64
* Define the following symbol if you want
65
* comprehensive debugging turned on.
66
*/
67
 
68
 
69
/* #define TCL_DEBUG */
70
 
71
 
72
#ifdef TCL_DEBUG
73
# define TCL_MEM_DEBUG
74
# define TCL_TEST
75
#endif
76
 
77
 
78
 
79
/*
80
* For a while, we will continue to use the old routine names, so that
81
* people with older versions of CodeWarrior will still be able to compile
82
* the source (albeit they will have to update the project files themselves).
83
*
84
* At some point, we will convert over to the new routine names.
85
*/
86
 
87
 
88
#define OLDROUTINENAMES 1

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.