summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-23 13:48:30 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-23 13:48:30 (GMT)
commit9731d4470fc78cb2d050530b9024fe31cdd12da4 (patch)
treec2278b5618fac1e7d47fdde216f4302507f6ead7
parentd250ee2413ebaa699b6d720dd1ab937b7901b6b0 (diff)
downloadcpython-9731d4470fc78cb2d050530b9024fe31cdd12da4.zip
cpython-9731d4470fc78cb2d050530b9024fe31cdd12da4.tar.gz
cpython-9731d4470fc78cb2d050530b9024fe31cdd12da4.tar.bz2
* Modules/config.c.in: change mac specific things
-rw-r--r--Modules/config.c.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index db8d7c5..d4e09b5 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -28,6 +28,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "config.h"
#endif
+#ifdef macintosh
+/* The Macintosh main program is in macmain.c */
+#define NO_MAIN
+#endif
+
#include <stdio.h>
#include <string.h>
@@ -52,9 +57,6 @@ main(argc, argv)
int argc;
char **argv;
{
-#ifdef macintosh
- wargs(&argc, &argv);
-#endif
argv0 = argv[0];
realmain(argc, argv);
}
@@ -111,7 +113,7 @@ getcopyright()
#ifndef PYTHONPATH
#ifdef macintosh
-#define PYTHONPATH ": :Lib :Lib:stdwin :Demo"
+#define PYTHONPATH ": :Lib :Lib:stdwin :Lib:test :Lib:mac"
#endif /* macintosh */
#endif /* !PYTHONPATH */