view Python/getplatform.c @ 78678:7789111afe05

Issue #15726: Fix incorrect bounds checking in PyState_FindModule. Patch by Robin Schreiber.
author Antoine Pitrou <solipsis@pitrou.net>
date Mon, 20 Aug 2012 19:31:52 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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