Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macimport.c @ 19032:d3268d62e462 legacy-trunk
Got rid of 68k-Mac and other outdated ifdefs.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Tue, 07 Aug 2001 15:30:23 +0000 |
| parents | 9734f895f4fb |
| children | 27874c860268 |
line wrap: on
line diff
--- a/Mac/Python/macimport.c Tue Aug 07 15:29:17 2001 +0000 +++ b/Mac/Python/macimport.c Tue Aug 07 15:30:23 2001 +0000 @@ -145,15 +145,9 @@ 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 )
