mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +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
|
@ -350,7 +350,7 @@ navrr_getattr(self, name)
|
|||
PyErr_Mac(ErrorObject, err);
|
||||
return NULL;
|
||||
}
|
||||
#ifdef TARGET_API_MAC_CARBON
|
||||
#if TARGET_API_MAC_CARBON
|
||||
if (err=AEGetDescData(&desc, &fss, sizeof(FSSpec))) {
|
||||
Py_DECREF(rv);
|
||||
PyErr_Mac(ErrorObject, err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue