Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 15047:457f0df46dd9 legacy-trunk
Donn Cave <donn@u.washington.edu>:
Do not assume that all platforms using a MetroWorks compiler can use
POSIX threads; the assumption breaks on BeOS. This fix only helps
for BeOS.
This closes SourceForge patch #101772.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 06 Oct 2000 15:48:38 +0000 |
| parents | 6f6f965c5e2d |
| children |
line wrap: on
line source
#include "Python.h" #ifndef PLATFORM #define PLATFORM "unknown" #endif const char * Py_GetPlatform(void) { return PLATFORM; }
