]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added missing include for <Aliases.h>
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Oct 1995 13:54:01 +0000 (13:54 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 23 Oct 1995 13:54:01 +0000 (13:54 +0000)
Python/importdl.c

index 65f2f72ff6beae9cb35031e542b10c8c85d418c3..01d9c169866164382e9d40903f6f99044b09ee91 100644 (file)
@@ -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);