From c743c8d1663c57bf0b16d88c886f2e64ae64a8e5 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 14 Feb 1996 16:02:30 +0000 Subject: Modified for GUSI --- Mac/Python/macapplication.c | 4 ++-- Mac/Python/macgetcompiler.c | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'Mac/Python') diff --git a/Mac/Python/macapplication.c b/Mac/Python/macapplication.c index d7b1e2e89d..5d7bc830eb 100644 --- a/Mac/Python/macapplication.c +++ b/Mac/Python/macapplication.c @@ -31,8 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. extern void PyMac_InitApplication(); main() { -#if defined(__MWERKS__) && defined(USE_TK) - PyTk_InitGUSI(); +#if defined(USE_GUSI) + GUSIDefaultSetup(); #endif #if defined(__MWERKS__) && defined(__CFM68K__) printf("Hello, world!\n"); diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c index 67399d8fcd..d93172b930 100644 --- a/Mac/Python/macgetcompiler.c +++ b/Mac/Python/macgetcompiler.c @@ -5,13 +5,18 @@ #endif #ifdef __MWERKS__ +#ifdef USE_GUSI +#define HASGUSI " w/GUSI" +#else +#define HASGUSI "" +#endif #ifdef __powerc -#define COMPILER " [CW PPC]" +#define COMPILER " [CW PPC" HASGUSI "]" #else #ifdef __CFM68K__ -#define COMPILER " [CW CFM68K]" +#define COMPILER " [CW CFM68K" HASGUSI "]" #else -#define COMPILER " [CW 68K]" +#define COMPILER " [CW 68K" HASGUSI "]" #endif #endif #endif -- cgit v1.2.1