From: Jack Jansen Date: Fri, 28 Jul 1995 11:29:54 +0000 (+0000) Subject: - Added getplatform() X-Git-Tag: v1.3b1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4cae5e6c0a73f4cf8fdc80761feb30fcf63acd8d;p=thirdparty%2FPython%2Fcpython.git - Added getplatform() - (temporarily?) removed newmodule reference --- diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c index 224be8b0ba57..bb8ecd032b81 100644 --- a/Mac/Modules/config.c +++ b/Mac/Modules/config.c @@ -128,6 +128,11 @@ getcopyright() return "Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam"; } +char * +getplatform() +{ + return "mac"; +} /* Return the initial python search path. This is called once from initsys() to initialize sys.path. @@ -282,7 +287,9 @@ extern void initfl(); extern void initthread(); extern void inittiming(); extern void initsignal(); +#if 0 extern void initnew(); +#endif extern void initdl(); extern void initsyslog(); extern void initgestalt(); @@ -353,7 +360,9 @@ struct { #endif {"md5", initmd5}, {"rotor", initrotor}, +#if 0 {"new", initnew}, +#endif {"gestalt", initgestalt}, {"macfs", initmacfs}, #ifdef THINK_C