Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4cae5e6

Browse files
committed
- Added getplatform()
- (temporarily?) removed newmodule reference
1 parent 614cf81 commit 4cae5e6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Mac/Modules/config.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ getcopyright()
128128
return "Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam";
129129
}
130130

131+
char *
132+
getplatform()
133+
{
134+
return "mac";
135+
}
131136

132137
/* Return the initial python search path. This is called once from
133138
initsys() to initialize sys.path.
@@ -282,7 +287,9 @@ extern void initfl();
282287
extern void initthread();
283288
extern void inittiming();
284289
extern void initsignal();
290+
#if 0
285291
extern void initnew();
292+
#endif
286293
extern void initdl();
287294
extern void initsyslog();
288295
extern void initgestalt();
@@ -353,7 +360,9 @@ struct {
353360
#endif
354361
{"md5", initmd5},
355362
{"rotor", initrotor},
363+
#if 0
356364
{"new", initnew},
365+
#endif
357366
{"gestalt", initgestalt},
358367
{"macfs", initmacfs},
359368
#ifdef THINK_C

0 commit comments

Comments
 (0)