view Python/getplatform.c @ 34928:9857daa22807 2.4

Backport my recent fix (rev. 2.40 of Python/pystate.c): Fix: [ 1176893 ] Readline segfault by unsilly-ing PyGILState_Release(). Backport candidate.
author Michael W. Hudson <mwh@python.net>
date Sun, 24 Apr 2005 19:32:34 +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;
}