view Python/getplatform.c @ 39131:7c09b66f04bd legacy-trunk

Handle more memory allocation failures without crashing.
author Neal Norwitz <nnorwitz@gmail.com>
date Fri, 21 Jul 2006 07:59:47 +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;
}