summaryrefslogtreecommitdiffstats
path: root/Mac/mwerks
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-18 09:40:39 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-18 09:40:39 (GMT)
commit660bb1d1c792f419a60f779c41d9d39d0dfe2b20 (patch)
treeb52ab129553b2e3b0eec48a091828c70b7bdaaaf /Mac/mwerks
parent574c0e22a56ef1b4b61f99088a38aa3fe9fbc840 (diff)
downloadcpython-660bb1d1c792f419a60f779c41d9d39d0dfe2b20.zip
cpython-660bb1d1c792f419a60f779c41d9d39d0dfe2b20.tar.gz
cpython-660bb1d1c792f419a60f779c41d9d39d0dfe2b20.tar.bz2
MacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
Diffstat (limited to 'Mac/mwerks')
-rw-r--r--Mac/mwerks/mwerks_carbon_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/mwerks/mwerks_carbon_config.h b/Mac/mwerks/mwerks_carbon_config.h
index e96de720..b39467e 100644
--- a/Mac/mwerks/mwerks_carbon_config.h
+++ b/Mac/mwerks/mwerks_carbon_config.h
@@ -9,6 +9,7 @@
#define TARGET_API_MAC_CARBON 1
#define TARGET_API_MAC_CARBON_NOTYET 1 /* Things we should do eventually, but not now */
+#define USE_ARGV0_CHDIR /* Workaround for OSXDP4: change dir to argv[0] dir */
/* #define USE_GUSI2 /* Stdio implemented with GUSI 2 */
/* # define USE_GUSI1 /* Stdio implemented with GUSI 1 */
#define USE_MSL /* Use Mw Standard Library (as opposed to Plaugher C libraries) */