summaryrefslogtreecommitdiff
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-08-04 04:20:48 +0000
committerGuido van Rossum <guido@python.org>1995-08-04 04:20:48 +0000
commit667d704997f26a1a22f4e981bbb3c2f8399cfc41 (patch)
tree245b91f0451e57625f921f02f6f0d3dfb85d59a0 /Python/getplatform.c
parent37ba0bc50be14b6f2148ebb7f824c8e77f001488 (diff)
downloadcpython-git-667d704997f26a1a22f4e981bbb3c2f8399cfc41.tar.gz
Initial revision
Diffstat (limited to 'Python/getplatform.c')
-rw-r--r--Python/getplatform.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/getplatform.c b/Python/getplatform.c
new file mode 100644
index 0000000000..01e683588f
--- /dev/null
+++ b/Python/getplatform.c
@@ -0,0 +1,9 @@
+#ifndef PLATFORM
+#define PLATFORM "unknown"
+#endif
+
+char *
+getplatform()
+{
+ return PLATFORM;
+}