view Python/getplatform.c @ 75143:88aede44ded1

Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 21 Feb 2012 19:08:26 +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;
}