mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Added missing include for <Aliases.h>
This commit is contained in:
parent
945b7b8eaf
commit
0a72e8d4d2
1 changed files with 1 additions and 3 deletions
|
@ -150,6 +150,7 @@ typedef void (*dl_funcptr)();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_MAC_DYNAMIC_LOADING
|
#ifdef USE_MAC_DYNAMIC_LOADING
|
||||||
|
#include <Aliases.h>
|
||||||
#include <CodeFragments.h>
|
#include <CodeFragments.h>
|
||||||
#ifdef SYMANTEC__CFM68K__ /* Really just an older version of Universal Headers */
|
#ifdef SYMANTEC__CFM68K__ /* Really just an older version of Universal Headers */
|
||||||
#define CFragConnectionID ConnectionID
|
#define CFragConnectionID ConnectionID
|
||||||
|
@ -268,10 +269,7 @@ load_dynamic_module(name, pathname, fp)
|
||||||
|
|
||||||
/* First resolve any aliases to find the real file */
|
/* First resolve any aliases to find the real file */
|
||||||
(void)FSMakeFSSpec(0, 0, Pstring(pathname), &libspec);
|
(void)FSMakeFSSpec(0, 0, Pstring(pathname), &libspec);
|
||||||
#if !(defined(__MWERKS__) && defined(__CFM68K__))
|
|
||||||
/* Bug: not in library */
|
|
||||||
err = ResolveAliasFile(&libspec, 1, &isfolder, &didsomething);
|
err = ResolveAliasFile(&libspec, 1, &isfolder, &didsomething);
|
||||||
#endif
|
|
||||||
if ( err ) {
|
if ( err ) {
|
||||||
sprintf(buf, "%s: %s", pathname, PyMac_StrError(err));
|
sprintf(buf, "%s: %s", pathname, PyMac_StrError(err));
|
||||||
err_setstr(ImportError, buf);
|
err_setstr(ImportError, buf);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue