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
commitc4a0bd3ce9fc595ee7bfaa531d90b54545c50aed (patch)
tree9de1df2c43e556b90f9fa08b818015291b82e3a3 /Python/getplatform.c
parent74015775fb41f0eb33ca694a86fe49ce884757ae (diff)
downloadcpython-c4a0bd3ce9fc595ee7bfaa531d90b54545c50aed.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;
+}