]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ported Jacks changes back to think C
authorGuido van Rossum <guido@python.org>
Wed, 18 Jan 1995 23:59:06 +0000 (23:59 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 18 Jan 1995 23:59:06 +0000 (23:59 +0000)
Mac/Include/config.h
Mac/Modules/config.c

index fb23ea1f00c3d5fcf14ac005b552118db06a271d..3d535060807cc7c23d95454f57e0aca3317b97c4 100644 (file)
@@ -8,6 +8,10 @@
 /* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */
 #define macintosh
 
+#ifdef THINK_C
+#define HAVE_FOPENRF
+#endif
+
 /* Define if on AIX 3.
    System headers sometimes define this.
    We just want to avoid a redefinition error message.  */
index 52103815ddd9a4c8e926b3736946d69f9043378b..b1b7779908b80eb62bd14f9eebdcee1c625fd677 100644 (file)
@@ -261,13 +261,14 @@ extern void initnew();
 extern void initdl();
 extern void initsyslog();
 extern void initgestalt();
-#ifdef THINK
+#ifdef THINK_C
 extern void initmacconsole();
 #endif
 extern void initctb();
 extern void initmacspeech();
 extern void initmacdnr();
 extern void initmactcp();
+extern void initAE();
 
 /* -- ADDMODULE MARKER 1 -- */
 
@@ -297,14 +298,21 @@ struct {
        {"rotor", initrotor},
        {"new", initnew},
        {"gestalt", initgestalt},
-#ifdef THINK
+#ifdef THINK_C
        {"macconsole", initmacconsole},
 #endif
        {"ctb", initctb},
+#ifdef __MWERKS__
+/* This is really "Jack Jansen" specific for now :-) */
        {"macspeech", initmacspeech},
        {"imgformat", initimgformat},
        {"macdnr", initmacdnr},
        {"mactcp", initmactcp},
+#endif
+#ifdef THINK_C
+/* This is really "Guido van Rossum" specific... :-) */
+       {"AE", initAE},
+#endif
 
 /* -- ADDMODULE MARKER 2 -- */