view Python/getplatform.c @ 78676:2b4f6770877e 2.7

Issue #15741: Fix potential NULL dereference. Found by Coverity.
author Stefan Krah <skrah@bytereef.org>
date Mon, 20 Aug 2012 17:31:22 +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;
}