mirror of
https://github.com/python/cpython.git
synced 2025-01-23 01:32:36 +08:00
added getpalatform()
This commit is contained in:
parent
807b7bec06
commit
ef4ee62a0f
@ -113,7 +113,7 @@ getargcargv(argc,argv)
|
||||
#ifdef __DATE__
|
||||
#define DATE __DATE__
|
||||
#else
|
||||
#define DATE "Feb 13 1995"
|
||||
#define DATE "July 7 1995"
|
||||
#endif
|
||||
|
||||
#ifdef THINK_C
|
||||
@ -189,6 +189,16 @@ getcopyright()
|
||||
extern char *getenv();
|
||||
#endif
|
||||
|
||||
#ifndef PLATFORM
|
||||
#define PLATFORM "unknown"
|
||||
#endif
|
||||
|
||||
char *
|
||||
getplatform()
|
||||
{
|
||||
return PLATFORM;
|
||||
}
|
||||
|
||||
char *
|
||||
getpythonpath()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user