summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:37:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:37:27 (GMT)
commit74a1e63a89cdaad288260600cf77e3a20811f49b (patch)
treefcac57d67ef4a81ecfb8ae462dc3d254e9cf46be /Mac/Python/macmain.c
parent2d391f2f397d66e2ac3cadc0b3c3b008a57094bb (diff)
downloadcpython-74a1e63a89cdaad288260600cf77e3a20811f49b.zip
cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.gz
cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.bz2
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r--Mac/Python/macmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index e3e9615..d40a70e 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());
}