summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macosmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:37:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:37:27 (GMT)
commit74a1e63a89cdaad288260600cf77e3a20811f49b (patch)
treefcac57d67ef4a81ecfb8ae462dc3d254e9cf46be /Mac/Modules/macosmodule.c
parent2d391f2f397d66e2ac3cadc0b3c3b008a57094bb (diff)
downloadcpython-74a1e63a89cdaad288260600cf77e3a20811f49b.zip
cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.gz
cpython-74a1e63a89cdaad288260600cf77e3a20811f49b.tar.bz2
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r--Mac/Modules/macosmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c
index 07a2e47..d373b7e 100644
--- a/Mac/Modules/macosmodule.c
+++ b/Mac/Modules/macosmodule.c
@@ -359,7 +359,7 @@ MacOS_SetCreatorAndType(PyObject *self, PyObject *args)
#include <EPPC.h>
#include <Events.h>
-#ifndef TARGET_API_MAC_CARBON
+#if !TARGET_API_MAC_CARBON
static char accepthle_doc[] = "Get arguments of pending high-level event";
static PyObject *
@@ -677,7 +677,7 @@ MacOS_CompactMem(PyObject *self, PyObject *args)
}
static PyMethodDef MacOS_Methods[] = {
-#ifndef TARGET_API_MAC_CARBON
+#if !TARGET_API_MAC_CARBON
{"AcceptHighLevelEvent", MacOS_AcceptHighLevelEvent, 1, accepthle_doc},
#endif
{"GetCreatorAndType", MacOS_GetCreatorAndType, 1, getcrtp_doc},