Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 63757:c16803bbd790
Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h. This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
| author | Alexander Belopolsky <alexander.belopolsky@gmail.com> |
|---|---|
| date | Thu, 05 Aug 2010 17:34:27 +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; }
