view Python/getplatform.c @ 51202:df090597afaa

Make Python/makeopcodetargets runnable with Python 2.3. With any luck, this should solve the 'failed compile' on the x86 gentoo 3.x buildbot.
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 31 Jan 2009 12:12:41 +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;
}