summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-19 23:34:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-19 23:34:06 (GMT)
commitc7050d9bb965b094efc87873911d22b0b5b672d8 (patch)
tree26c4de65259149571e4db12a98737823626b87d0
parentfe385251f429dccddeb212f5ad02c026fe4a6550 (diff)
downloadcpython-c7050d9bb965b094efc87873911d22b0b5b672d8.zip
cpython-c7050d9bb965b094efc87873911d22b0b5b672d8.tar.gz
cpython-c7050d9bb965b094efc87873911d22b0b5b672d8.tar.bz2
Use #if TARGET_API_MAC_CARBON to determine carbon/classic macos, not #ifdef.
-rw-r--r--Python/dynload_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_mac.c b/Python/dynload_mac.c
index e5e08e3..c8c9646 100644
--- a/Python/dynload_mac.c
+++ b/Python/dynload_mac.c
@@ -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},