mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +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
|
@ -178,7 +178,7 @@ if (strcmp(name, "type") == 0)
|
|||
return PyMac_BuildOSType(self->ob_itself.descriptorType);
|
||||
if (strcmp(name, "data") == 0) {
|
||||
PyObject *res;
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
#if !TARGET_API_MAC_CARBON
|
||||
char state;
|
||||
state = HGetState(self->ob_itself.dataHandle);
|
||||
HLock(self->ob_itself.dataHandle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue