diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-23 13:54:01 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-10-23 13:54:01 (GMT) |
commit | 0a72e8d4d2a3dd1abd2d8cdac4cf1a10fd72f95e (patch) | |
tree | 01499183f56c55b90466faaa1f632fc9e71ee6f4 /Python/importdl.c | |
parent | 945b7b8eaf7729d987fac0d79a0641553f2a2bcb (diff) | |
download | cpython-0a72e8d4d2a3dd1abd2d8cdac4cf1a10fd72f95e.zip cpython-0a72e8d4d2a3dd1abd2d8cdac4cf1a10fd72f95e.tar.gz cpython-0a72e8d4d2a3dd1abd2d8cdac4cf1a10fd72f95e.tar.bz2 |
Added missing include for <Aliases.h>
Diffstat (limited to 'Python/importdl.c')
-rw-r--r-- | Python/importdl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/importdl.c b/Python/importdl.c index 65f2f72..01d9c16 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -150,6 +150,7 @@ typedef void (*dl_funcptr)(); #endif #ifdef USE_MAC_DYNAMIC_LOADING +#include <Aliases.h> #include <CodeFragments.h> #ifdef SYMANTEC__CFM68K__ /* Really just an older version of Universal Headers */ #define CFragConnectionID ConnectionID @@ -268,10 +269,7 @@ load_dynamic_module(name, pathname, fp) /* First resolve any aliases to find the real file */ (void)FSMakeFSSpec(0, 0, Pstring(pathname), &libspec); -#if !(defined(__MWERKS__) && defined(__CFM68K__)) - /* Bug: not in library */ err = ResolveAliasFile(&libspec, 1, &isfolder, &didsomething); -#endif if ( err ) { sprintf(buf, "%s: %s", pathname, PyMac_StrError(err)); err_setstr(ImportError, buf); |