mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Fixed to work for ppc and cfm68k
This commit is contained in:
parent
7e124ea86a
commit
a06f13dc78
1 changed files with 4 additions and 0 deletions
|
@ -43,7 +43,11 @@ OSErr pascal
|
||||||
PythonCore_init(InitBlockPtr data)
|
PythonCore_init(InitBlockPtr data)
|
||||||
{
|
{
|
||||||
/* Call the MW runtime's initialization routine */
|
/* Call the MW runtime's initialization routine */
|
||||||
|
#ifdef __CFM68K__
|
||||||
__initialize();
|
__initialize();
|
||||||
|
#else
|
||||||
|
__sinit();
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( data == nil ) return noErr;
|
if ( data == nil ) return noErr;
|
||||||
if ( data->fragLocator.where == kOnDiskFlat ) {
|
if ( data->fragLocator.where == kOnDiskFlat ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue