mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Got rid of 68k-Mac and other outdated ifdefs.
This commit is contained in:
parent
71c5b02859
commit
b760923b20
5 changed files with 0 additions and 37 deletions
|
@ -145,15 +145,9 @@ findnamedresource(
|
|||
if ( ok && dataptr != NULL ) {
|
||||
HLock(h);
|
||||
/* XXXX Unsafe if resource not correctly formatted! */
|
||||
#ifdef __CFM68K__
|
||||
/* for cfm68k we take the second pstring */
|
||||
*dataptr = *((*h)+(**h)+1);
|
||||
memcpy(dataptr+1, (*h)+(**h)+2, (int)*dataptr);
|
||||
#else
|
||||
/* for ppc we take the first pstring */
|
||||
*dataptr = **h;
|
||||
memcpy(dataptr+1, (*h)+1, (int)*dataptr);
|
||||
#endif
|
||||
HUnlock(h);
|
||||
}
|
||||
if ( filerh != -1 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue