Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 20221:abaf9ea2e560 legacy-trunk
SF bug [#467265] Compile errors on SuSe Linux on IBM/s390.
Unknown whether this fixes it.
- stringobject.c, PyString_FromFormatV: don't assume that va_list is of
a type that can be copied via an initializer.
- errors.c, PyErr_Format: add a va_end() to balance the va_start().
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Tue, 02 Oct 2001 21:32:07 +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; }
