Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.

This commit is contained in:
Jack Jansen 2000-07-14 22:37:27 +00:00
parent 2d391f2f39
commit 74a1e63a89
44 changed files with 223 additions and 223 deletions

View file

@ -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());
}