]> granicus.if.org Git - python/commitdiff
Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 19 Jan 2001 23:34:06 +0000 (23:34 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 19 Jan 2001 23:34:06 +0000 (23:34 +0000)
Python/dynload_mac.c

index e5e08e3ee742d422555d6f88d61b458b07e0a19c..c8c9646bd89c1a4a626adddc683a849c6db70ae8 100644 (file)
@@ -20,7 +20,7 @@ const struct filedescr _PyImport_DynLoadFiletab[] = {
 #ifdef __CFM68K__
        {".CFM68K.slb", "rb", C_EXTENSION},
 #else
-#ifdef TARGET_API_MAC_CARBON
+#if TARGET_API_MAC_CARBON
        {".carbon.slb", "rb", C_EXTENSION},
 #else
        {".ppc.slb", "rb", C_EXTENSION},