view Python/getplatform.c @ 31614:c2df8a5c357e legacy-trunk

SF Patch #902444: Use process scope thread on FreeBSD. System scope is too expensive on FreeBSD's KSE threading infrastructure and even test_threadedimport fails on default setting.
author Hye-Shik Chang <hyeshik@gmail.com>
date Thu, 04 Mar 2004 06:35:57 +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;
}