summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetargv.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-27 13:18:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-27 13:18:14 (GMT)
commitf74f63a43f3c4e3d31a0366a2a982e0ded8ef583 (patch)
tree7a283806d15a5e953125048c1da5c58488c07120 /Mac/Python/macgetargv.c
parenteceb3e3f0a7d0f58ac75b46cc1c907eaf21dd472 (diff)
downloadcpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.zip
cpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.tar.gz
cpython-f74f63a43f3c4e3d31a0366a2a982e0ded8ef583.tar.bz2
Initial port to CodeWarrior CFM68K support (mainly by disabling
unsupported features).
Diffstat (limited to 'Mac/Python/macgetargv.c')
-rw-r--r--Mac/Python/macgetargv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Python/macgetargv.c b/Mac/Python/macgetargv.c
index 66c6d59..5f2e637 100644
--- a/Mac/Python/macgetargv.c
+++ b/Mac/Python/macgetargv.c
@@ -50,7 +50,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define HAVE_UNIVERSAL_HEADERS
#endif
-#ifdef __CFM68K__
+#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif
@@ -120,6 +120,9 @@ get_full_path (FSSpec *fss, char *buf)
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);