summaryrefslogtreecommitdiff
path: root/Python/getplatform.c
diff options
context:
space:
mode:
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;
+}