Guido van Rossum | 582646a | 1996-05-28 22:30:17 +0000 | [diff] [blame] | 1 | |
2 | #include "Python.h" | ||||
3 | |||||
Guido van Rossum | 667d704 | 1995-08-04 04:20:48 +0000 | [diff] [blame] | 4 | #ifndef PLATFORM |
5 | #define PLATFORM "unknown" | ||||
6 | #endif | ||||
7 | |||||
Guido van Rossum | 8fb26ed | 1997-07-19 19:48:41 +0000 | [diff] [blame] | 8 | const char * |
Thomas Wouters | f70ef4f | 2000-07-22 18:47:25 +0000 | [diff] [blame] | 9 | Py_GetPlatform(void) |
Guido van Rossum | 667d704 | 1995-08-04 04:20:48 +0000 | [diff] [blame] | 10 | { |
Serhiy Storchaka | 598ceae | 2017-11-28 17:56:10 +0200 | [diff] [blame] | 11 | return PLATFORM; |
Guido van Rossum | 667d704 | 1995-08-04 04:20:48 +0000 | [diff] [blame] | 12 | } |