view Python/getplatform.c @ 86358:63bc2fe28a6e

Re #18521: move array bounds check before array access.
author Georg Brandl <georg@python.org>
date Mon, 14 Oct 2013 07:01:11 +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;
}