view Python/getplatform.c @ 75148:76d72e92fdea 2.6

Fix crash at startup with -W options.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 21 Feb 2012 20:42:48 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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