view Python/getplatform.c @ 47664:db99f8752710 legacy-trunk

#1683 prevent forking from interfering in threading storage This should prevent some test_multiprocessing failures
author Benjamin Peterson <benjamin@python.org>
date Fri, 13 Jun 2008 00:09:47 +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;
}