Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6a5df909
Commit
6a5df909
authored
Jan 18, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ported Jacks changes back to think C
parent
f74d4e2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Mac/Include/config.h
Mac/Include/config.h
+4
-0
Mac/Modules/config.c
Mac/Modules/config.c
+10
-2
No files found.
Mac/Include/config.h
View file @
6a5df909
...
...
@@ -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. */
...
...
Mac/Modules/config.c
View file @
6a5df909
...
...
@@ -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 -- */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment