view Python/getplatform.c @ 76287:508ae5d27c2c 2.7

take linkage def outside of WITH_THREAD conditional (closes #14569)
author Benjamin Peterson <benjamin@python.org>
date Fri, 13 Apr 2012 11:58:27 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}