mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +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
|
@ -315,7 +315,7 @@ class SpbObjectDefinition(ObjectDefinition):
|
|||
self->ob_completion = value;
|
||||
Py_INCREF(value);
|
||||
rv = 1;
|
||||
#ifndef TARGET_API_MAC_CARBON_NOTYET
|
||||
#if !TARGET_API_MAC_CARBON_NOTYET
|
||||
} else if (strcmp(name, "interruptRoutine") == 0) {
|
||||
self->ob_spb.completionRoutine = NewSIInterruptProc(SPB_interrupt);
|
||||
self->ob_interrupt = value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue