From 74a1e63a89cdaad288260600cf77e3a20811f49b Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 14 Jul 2000 22:37:27 +0000 Subject: Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. --- Mac/Python/macmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mac/Python/macmain.c') diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index e3e9615b86..d40a70ef6f 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -86,7 +86,7 @@ no_appearance: static void init_mac_world() { -#ifndef TARGET_API_MAC_CARBON +#if !TARGET_API_MAC_CARBON /* These aren't needed for carbon */ MaxApplZone(); InitGraf(&qd.thePort); @@ -162,7 +162,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp) DisposeDialog(dialog); exit(0); } -#ifndef TARGET_API_MAC_CARBON +#if !TARGET_API_MAC_CARBON if ( item == OPT_HELP ) { HMSetBalloons(!HMGetBalloons()); } -- cgit v1.2.1