From 74a1e63a89cdaad288260600cf77e3a20811f49b Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 14 Jul 2000 22:37:27 +0000 Subject: Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. --- Mac/Modules/ae/AEmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mac/Modules/ae/AEmodule.c') diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c index aee36fa611..435560a587 100644 --- a/Mac/Modules/ae/AEmodule.c +++ b/Mac/Modules/ae/AEmodule.c @@ -761,7 +761,7 @@ static PyObject *AEDesc_getattr(self, name) return PyMac_BuildOSType(self->ob_itself.descriptorType); if (strcmp(name, "data") == 0) { PyObject *res; -#ifndef TARGET_API_MAC_CARBON +#if !TARGET_API_MAC_CARBON char state; state = HGetState(self->ob_itself.dataHandle); HLock(self->ob_itself.dataHandle); -- cgit v1.2.1