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

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