Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 78052:2ecdda96f970
Fix compilation under Windows
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Tue, 10 Jul 2012 18:27:54 +0200 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
