diff options
Diffstat (limited to 'contrib/tools/python3/Python/getplatform.c')
| -rw-r--r-- | contrib/tools/python3/Python/getplatform.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/tools/python3/Python/getplatform.c b/contrib/tools/python3/Python/getplatform.c new file mode 100644 index 00000000000..81a0f7ac537 --- /dev/null +++ b/contrib/tools/python3/Python/getplatform.c @@ -0,0 +1,12 @@ + +#include "Python.h" + +#ifndef PLATFORM +#define PLATFORM "unknown" +#endif + +const char * +Py_GetPlatform(void) +{ + return PLATFORM; +} |
