mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Adapt Mac specific code to new universal headers (I think -- this is
Jack's code).
This commit is contained in:
parent
dfed920e51
commit
8ec9e639ab
1 changed files with 3 additions and 3 deletions
|
@ -1610,14 +1610,14 @@ static FSSpec library_fss;
|
|||
** resources.
|
||||
*/
|
||||
OSErr pascal
|
||||
init_tkinter_shlib(InitBlockPtr data)
|
||||
init_tkinter_shlib(CFragInitBlockPtr data)
|
||||
{
|
||||
__initialize();
|
||||
if ( data == nil ) return noErr;
|
||||
if ( data->fragLocator.where == kOnDiskFlat ) {
|
||||
if ( data->fragLocator.where == kDataForkCFragLocator ) {
|
||||
library_fss = *data->fragLocator.u.onDisk.fileSpec;
|
||||
loaded_from_shlib = 1;
|
||||
} else if ( data->fragLocator.where == kOnDiskSegmented ) {
|
||||
} else if ( data->fragLocator.where == kResourceCFragLocator ) {
|
||||
library_fss = *data->fragLocator.u.inSegs.fileSpec;
|
||||
loaded_from_shlib = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue