Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 13608:a901c2c0166b legacy-trunk
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 14 Jul 2000 22:37:27 +0000 |
| parents | db963a615bc9 |
| children | 58398c0f948b |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Fri Jul 14 22:18:32 2000 +0000 +++ b/Mac/Python/macmain.c Fri Jul 14 22:37:27 2000 +0000 @@ -86,7 +86,7 @@ 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 @@ DisposeDialog(dialog); exit(0); } -#ifndef TARGET_API_MAC_CARBON +#if !TARGET_API_MAC_CARBON if ( item == OPT_HELP ) { HMSetBalloons(!HMGetBalloons()); }
