view Python/getplatform.c @ 37597:2b2e9c388fbb legacy-trunk

low-hanging fruit in Python/ - g++ still hates all the enum_kind declarations in Python/Python-ast.c. Not sure what to do about those.
author Anthony Baxter <anthonybaxter@gmail.com>
date Tue, 11 Apr 2006 07:43:46 +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;
}