summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-18 23:59:06 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-18 23:59:06 (GMT)
commit6a5df90918b47270659e9f75c63b87698e2499ff (patch)
tree34a957520df9b2b7db55771ea77928d3c9db9376 /Mac
parentf74d4e2a0eeff08357f58e0d36cd97aaf6565b9e (diff)
downloadcpython-6a5df90918b47270659e9f75c63b87698e2499ff.zip
cpython-6a5df90918b47270659e9f75c63b87698e2499ff.tar.gz
cpython-6a5df90918b47270659e9f75c63b87698e2499ff.tar.bz2
ported Jacks changes back to think C
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Include/config.h4
-rw-r--r--Mac/Modules/config.c12
2 files changed, 14 insertions, 2 deletions
diff --git a/Mac/Include/config.h b/Mac/Include/config.h
index fb23ea1..3d53506 100644
--- a/Mac/Include/config.h
+++ b/Mac/Include/config.h
@@ -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. */
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index 5210381..b1b7779 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -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 -- */