view Python/getplatform.c @ 37252:52debbc3cc08 2.4

Backport of compile.c part of r41531 (neal.norwitz, 2005-11-24): Fix a ref leak.
author Martin v. Löwis <martin@v.loewis.de>
date Mon, 27 Mar 2006 21:47:54 +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;
}