]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
* Modules/config.c.in: change mac specific things
authorGuido van Rossum <guido@python.org>
Tue, 23 Aug 1994 13:48:30 +0000 (13:48 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 23 Aug 1994 13:48:30 +0000 (13:48 +0000)
Modules/config.c.in

index db8d7c5070cae6f44b2afa8a41317857bd16fb3c..d4e09b5765839bd6a376203072c0aa88418b92c7 100644 (file)
@@ -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 */