[Python-checkins] CVS: python/dist/src/Mac/Python macimport.c,1.11,1.12
Jack Jansen
jackjansen@users.sourceforge.net
Tue, 07 Aug 2001 08:30:20 -0700
Update of /cvsroot/python/python/dist/src/Mac/Python
In directory usw-pr-cvs1:/tmp/cvs-serv15519/python/Mac/Python
Modified Files:
macimport.c
Log Message:
Got rid of 68k-Mac and other outdated ifdefs.
Index: macimport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macimport.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** macimport.c 2001/06/26 06:54:33 1.11
--- macimport.c 2001/08/07 15:30:18 1.12
***************
*** 146,158 ****
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);
}
--- 146,152 ----