diff Mac/Python/macgetargv.c @ 2794:823f3a8ecfe4 legacy-trunk

Initial port to CodeWarrior CFM68K support (mainly by disabling unsupported features).
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 27 Jun 1995 13:18:14 +0000
parents dd1ab20f8223
children 927f4839fbfa
line wrap: on
line diff
--- a/Mac/Python/macgetargv.c	Tue Jun 27 13:15:15 1995 +0000
+++ b/Mac/Python/macgetargv.c	Tue Jun 27 13:18:14 1995 +0000
@@ -50,7 +50,7 @@
 #define HAVE_UNIVERSAL_HEADERS
 #endif
 
-#ifdef __CFM68K__
+#ifdef SYMANTEC__CFM68K__
 #pragma lib_export on
 #endif
 
@@ -120,6 +120,9 @@
 	char tmpbuf[256];
 	int plen;
 
+#if defined(__MWERKS__) && defined(__CFM68K__)
+	return -1; /* get_folder_parent doesn't work */
+#endif
 	fss_current = *fss;
 	plen = fss_current.name[0];
 	memcpy(buf, &fss_current.name[1], plen);