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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [itk/] [mac/] [MW_ItkHeader.pch] - Blame information for rev 1782

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

Line No. Rev Author Line
1 578 markom
/*
2
 * MW_ItkHeader.pch --
3
 *
4
 *  This file is the source for a pre-compilied header that gets used
5
 *  for all files in the Tk projects.  This make compilies go a bit
6
 *  faster.  This file is only intended to be used in the MetroWerks
7
 *  CodeWarrior environment.  It essentially acts as a place to set
8
 *  compiler flags.  See MetroWerks documention for more details.
9
 *
10
 * Copyright (c) 1995-1996 Sun Microsystems, Inc.
11
 *
12
 * See the file "license.terms" for information on usage and redistribution
13
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
14
 *
15
 * SCCS: @(#) MW_TkHeader.pch 1.16 96/09/04 17:01:00
16
 */
17
 
18
/*
19
 * Support for automatically naming the precompiled header file ...
20
 */
21
#if __POWERPC__
22
#pragma precompile_target "MW_ItkHeaderPPC"
23
#include "MW_TkHeaderPPC"
24
#elif __CFM68K__
25
#pragma precompile_target "MW_ItkHeaderCFM68K"
26
#include "MW_TkHeaderCFM68K"
27
#else
28
#pragma precompile_target "MW_ItkHeader68K"
29
#include "MW_TkHeader68K"
30
#endif
31
 
32
/*
33
 * Macintosh Tcl must be compiled with certain compiler options to
34
 * ensure that it will work correctly.  The following pragmas are
35
 * used to ensure that those options are set correctly.  An error
36
 * will occur at compile time if they are not set correctly.
37
 */
38
 
39
#if !__option(enumsalwaysint)
40
#error Tcl requires the Metrowerks setting "Enums always ints".
41
#endif
42
 
43
#if !defined(__POWERPC__)
44
#if !__option(far_data)
45
#error Tcl requires the Metrowerks setting "Far data".
46
#endif
47
#endif
48
 
49
#if !defined(__POWERPC__)
50
#if !__option(fourbyteints)
51
#error Tcl requires the Metrowerks setting "4 byte ints".
52
#endif
53
#endif
54
 
55
#if !defined(__POWERPC__)
56
#if !__option(IEEEdoubles)
57
#error Tcl requires the Metrowerks setting "8 byte doubles".
58
#endif
59
#endif
60
 
61
#include 
62
#include 
63
#include 
64
 
65
/*
66
 * Place any includes below that will are needed by the majority of the
67
 * and is OK to be in any file in the system.  The pragma's are used
68
 * to control what functions are exported in the Tcl shared library.
69
 */
70
 
71
#pragma export on
72
#include "itk.h"
73
#pragma export reset

powered by: WebSVN 2.1.0

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