Showing the changes to sys/src/cmd/python/Python/getplatform.c (1 of 3706 files). Show all
Unified · Split
| @@ -0,0 +1,12 @@ | ||
| 1 | + | |
| 2 | +#include "Python.h" | |
| 3 | + | |
| 4 | +#ifndef PLATFORM | |
| 5 | +#define PLATFORM "plan9" | |
| 6 | +#endif | |
| 7 | + | |
| 8 | +const char * | |
| 9 | +Py_GetPlatform(void) | |
| 10 | +{ | |
| 11 | + return PLATFORM; | |
| 12 | +} | |