summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-07 22:38:14 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-07 22:38:14 (GMT)
commitef4ee62a0f54a7c6bb4995dfa49c89a4f24e5711 (patch)
treec722f510db5c4c565923615f24bbd3b472bb8993
parent807b7bec0646eec137e23dc8cd08c2cf679b9d01 (diff)
downloadcpython-ef4ee62a0f54a7c6bb4995dfa49c89a4f24e5711.zip
cpython-ef4ee62a0f54a7c6bb4995dfa49c89a4f24e5711.tar.gz
cpython-ef4ee62a0f54a7c6bb4995dfa49c89a4f24e5711.tar.bz2
added getpalatform()
-rw-r--r--Modules/config.c.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 327b9a0..6ade682 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -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()
{