mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
ported Jacks changes back to think C
This commit is contained in:
parent
f74d4e2a0e
commit
6a5df90918
@ -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. */
|
||||
|
@ -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 -- */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user