view Python/getplatform.c @ 37613:0ca5112e3e12 legacy-trunk

Part two of the fix for SF bug #1466641: Regenerate graminit.c and add test for the bogus failure.
author Thomas Wouters <thomas@python.org>
date Wed, 12 Apr 2006 00:07:59 +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;
}