summaryrefslogtreecommitdiffstats
path: root/Mac/Include
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-12 21:31:34 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-12 21:31:34 (GMT)
commit6e68a7e74f63f2aeda22e80e3fd9abdf3ada0f73 (patch)
tree896c33f8cae8a2ea91bd1a191cbcf85ca5ce1cef /Mac/Include
parent1bd0a712ad4339df67415228d8a954ed5a40fc9d (diff)
downloadcpython-6e68a7e74f63f2aeda22e80e3fd9abdf3ada0f73.zip
cpython-6e68a7e74f63f2aeda22e80e3fd9abdf3ada0f73.tar.gz
cpython-6e68a7e74f63f2aeda22e80e3fd9abdf3ada0f73.tar.bz2
Be more sensible about when to use TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation.
Diffstat (limited to 'Mac/Include')
-rw-r--r--Mac/Include/macglue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index a9e0749..100c204 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -84,11 +84,11 @@ int PyMac_FindCodeResourceModule(PyStringObject *, char *, char *); /* Test for
PyObject * PyMac_LoadCodeResourceModule(char *, char *); /* Load 'PYD ' resource from file */
struct filedescr *PyMac_FindModuleExtension(char *, size_t *, char *); /* Look for module in single folder */
-#if !TARGET_API_MAC_CARBON
+#if TARGET_API_MAC_OS8
int PyMac_GetDirectory(FSSpec *dirfss, char *prompt); /* Ask user for a directory */
void PyMac_PromptGetFile(short numTypes, ConstSFTypeListPtr typeList,
StandardFileReply *reply, char *prompt); /* Ask user for file, with prompt */
-#endif /* TARGET_API_MAC_CARBON */
+#endif /* TARGET_API_MAC_OS8 */
int PyMac_GetOSType(PyObject *, OSType *); /* argument parser for OSType */
PyObject *PyMac_BuildOSType(OSType); /* Convert OSType to PyObject */