From 8eb4b56828c9083ab91a8cfa0ac15fe9cb30f3cf Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 15 Jan 2001 16:00:40 +0000 Subject: [PATCH] Added a separate extension (.carbon.slb) for Carbon dynamic modules. --- Python/dynload_mac.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Python/dynload_mac.c b/Python/dynload_mac.c index 645df906c58..e5e08e3ee74 100644 --- a/Python/dynload_mac.c +++ b/Python/dynload_mac.c @@ -19,8 +19,12 @@ const struct filedescr _PyImport_DynLoadFiletab[] = { {".slb", "rb", C_EXTENSION}, #ifdef __CFM68K__ {".CFM68K.slb", "rb", C_EXTENSION}, +#else +#ifdef TARGET_API_MAC_CARBON + {".carbon.slb", "rb", C_EXTENSION}, #else {".ppc.slb", "rb", C_EXTENSION}, +#endif #endif {0, 0} };