view Python/getplatform.c @ 48920:176c409fd747 legacy-trunk

Fix compilation when --without-threads is given #3683 Reviewer: Georg Brandl, Benjamin Peterson
author Benjamin Peterson <benjamin@python.org>
date Mon, 01 Sep 2008 14:18:30 +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;
}