added getpalatform()

This commit is contained in:
Guido van Rossum 1995-07-07 22:38:14 +00:00
parent 807b7bec06
commit ef4ee62a0f
1 changed files with 11 additions and 1 deletions

View File

@ -113,7 +113,7 @@ getargcargv(argc,argv)
#ifdef __DATE__ #ifdef __DATE__
#define DATE __DATE__ #define DATE __DATE__
#else #else
#define DATE "Feb 13 1995" #define DATE "July 7 1995"
#endif #endif
#ifdef THINK_C #ifdef THINK_C
@ -189,6 +189,16 @@ getcopyright()
extern char *getenv(); extern char *getenv();
#endif #endif
#ifndef PLATFORM
#define PLATFORM "unknown"
#endif
char *
getplatform()
{
return PLATFORM;
}
char * char *
getpythonpath() getpythonpath()
{ {