diff options
author | jingham <jingham> | 1998-11-11 17:28:50 (GMT) |
---|---|---|
committer | jingham <jingham> | 1998-11-11 17:28:50 (GMT) |
commit | ad5d4d015663fbed6bb4d8ea9d0b1bfda00d82ad (patch) | |
tree | 993d1f2ceab5039b6806719996992d39b39829da /mac/MW_TkHeader.pch | |
parent | c7332617ba5dbb6c74ef23c5bca3ea821407ac7f (diff) | |
download | tk-ad5d4d015663fbed6bb4d8ea9d0b1bfda00d82ad.zip tk-ad5d4d015663fbed6bb4d8ea9d0b1bfda00d82ad.tar.gz tk-ad5d4d015663fbed6bb4d8ea9d0b1bfda00d82ad.tar.bz2 |
Make the Macintosh Menu's adopt the current Theme Appearance if the Appearance extension (version 1.0.1 or later) is installed
Diffstat (limited to 'mac/MW_TkHeader.pch')
-rw-r--r-- | mac/MW_TkHeader.pch | 78 |
1 files changed, 4 insertions, 74 deletions
diff --git a/mac/MW_TkHeader.pch b/mac/MW_TkHeader.pch index 433795d..f5dcc1d 100644 --- a/mac/MW_TkHeader.pch +++ b/mac/MW_TkHeader.pch @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: MW_TkHeader.pch,v 1.2 1998/09/14 18:23:33 stanton Exp $ + * RCS: @(#) $Id: MW_TkHeader.pch,v 1.3 1998/11/11 17:28:50 jingham Exp $ */ /* @@ -31,42 +31,13 @@ #pragma precompile_target "MW_TkHeader68K" #endif -/* - * Macintosh Tcl must be compiled with certain compiler options to - * ensure that it will work correctly. The following pragmas are - * used to ensure that those options are set correctly. An error - * will occur at compile time if they are not set correctly. - */ +#include "tclMacCommonPch.h" -#if !__option(enumsalwaysint) -#error Tcl requires the Metrowerks setting "Enums always ints". -#endif - -#if !defined(__POWERPC__) -#if !__option(far_data) -#error Tcl requires the Metrowerks setting "Far data". -#endif -#endif - -#if !defined(__POWERPC__) -#if !__option(fourbyteints) -#error Tcl requires the Metrowerks setting "4 byte ints". -#endif -#endif - -#if !defined(__POWERPC__) -#if !__option(IEEEdoubles) -#error Tcl requires the Metrowerks setting "8 byte doubles". -#endif +#ifdef TCL_DEBUG + #define TK_TEST #endif /* - * The define is used most everywhere to tell Tk (or any Tk - * extensions) that we are compiling for the Macintosh platform. - */ -#define MAC_TCL - -/* * The following defines are for the Xlib.h file to force * it to generate prototypes in the way we need it. This is * defined here in case X.h & company are ever included before @@ -77,47 +48,6 @@ #define NeedWidePrototypes 0 /* - * The following defines control the behavior of the Macintosh - * Universial Headers. - */ - -#define SystemSevenOrLater 1 -#define STRICT_CONTROLS 0 -#define STRICT_WINDOWS 0 - -/* - * The appearance manager has not yet been shiped by Apple (10/29/97). - * It's currently in beta testing which is why we were able to write - * some code that depends on it. If you have access to the appearance - * manager you can define the symbol HAVE_APPEARANCE below to compile - * the code that uses the new appearance manager. - */ - -/* #define HAVE_APPEARANCE 1 */ - -/* - * Define the following symbol if you want - * comprehensive debugging turned on. - */ - -/* #define TCL_DEBUG */ - -#ifdef TCL_DEBUG -# define TCL_MEM_DEBUG -# define TK_TEST -# define TCL_TEST -#endif - -/* - * Apple's Universal Headers 2.0 & 3.0 change alot of names and constants. - * We will switch to the new names as soon as we can be reasonably sure the - * number of people with older versions of CodeWarrior, who will then not be - * able to build Tcl/Tk, is negligible. - */ - -#define OLDROUTINENAMES 1 - -/* * Place any includes below that will are needed by the majority of the * and is OK to be in any file in the system. */ |