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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tk/] [mac/] [MW_TkHeader.pch] - Blame information for rev 1780

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

Line No. Rev Author Line
1 578 markom
/*
2
 * MW_TkHeader.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-1997 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
 * RCS: @(#) $Id: MW_TkHeader.pch,v 1.1.1.1 2002-01-16 10:25:55 markom Exp $
16
 */
17
 
18
/*
19
 * To use the compilied header you need to set the "Prefix file" in
20
 * the "C/C++ Language" preference panel to point to the created
21
 * compilied header.  The name of the header depends on the
22
 * architecture we are compiling for (see the code below).  For
23
 * example, for a 68k app the prefix file should be: MW_TclHeader68K.
24
 */
25
 
26
#if __POWERPC__
27
#pragma precompile_target "MW_TkHeaderPPC"
28
#elif __CFM68K__
29
#pragma precompile_target "MW_TkHeaderCFM68K"
30
#else
31
#pragma precompile_target "MW_TkHeader68K"
32
#endif
33
 
34
#include "tclMacCommonPch.h"
35
 
36
#ifdef TCL_DEBUG
37
    #define TK_TEST
38
#endif
39
 
40
/*
41
 * The following defines are for the Xlib.h file to force
42
 * it to generate prototypes in the way we need it.  This is
43
 * defined here in case X.h & company are ever included before
44
 * tk.h.
45
 */
46
 
47
#define NeedFunctionPrototypes 1
48
#define NeedWidePrototypes 0
49
 
50
/*
51
 * Place any includes below that will are needed by the majority of the
52
 * and is OK to be in any file in the system.
53
 */
54
 
55
#include 
56
#pragma export on
57
#include "tk.h"
58
#include "tkInt.h"
59
#pragma export off

powered by: WebSVN 2.1.0

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