mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19: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
|
@ -710,7 +710,7 @@ mfs_ResolveAliasFile(self, args)
|
|||
return Py_BuildValue("Oii", newmfssobject(&fss), (int)isfolder, (int)wasaliased);
|
||||
}
|
||||
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
#if !TARGET_API_MAC_CARBON
|
||||
static PyObject *
|
||||
mfs_StandardGetFile(self, args)
|
||||
PyObject *self; /* Not used */
|
||||
|
@ -854,7 +854,7 @@ mfs_RawAlias(self, args)
|
|||
return (PyObject *)newmfsaobject((AliasHandle)h);
|
||||
}
|
||||
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
#if !TARGET_API_MAC_CARBON
|
||||
static PyObject *
|
||||
mfs_GetDirectory(self, args)
|
||||
PyObject *self; /* Not used */
|
||||
|
@ -951,7 +951,7 @@ mfs_NewAliasMinimalFromFullPath(self, args)
|
|||
|
||||
static struct PyMethodDef mfs_methods[] = {
|
||||
{"ResolveAliasFile", mfs_ResolveAliasFile, 1},
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
#if !TARGET_API_MAC_CARBON
|
||||
{"StandardGetFile", mfs_StandardGetFile, 1},
|
||||
{"PromptGetFile", mfs_PromptGetFile, 1},
|
||||
{"StandardPutFile", mfs_StandardPutFile, 1},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue