view Python/getplatform.c @ 75873:ad5e93ae22ef 2.7

check for NULL
author Benjamin Peterson <benjamin@python.org>
date Thu, 22 Mar 2012 08:56:15 -0400
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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