mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
This commit is contained in:
parent
2d391f2f39
commit
74a1e63a89
44 changed files with 223 additions and 223 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue