summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macimport.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macimport.c')
-rw-r--r--Mac/Python/macimport.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Mac/Python/macimport.c b/Mac/Python/macimport.c
index b47a694..82d6438 100644
--- a/Mac/Python/macimport.c
+++ b/Mac/Python/macimport.c
@@ -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 )