view Python/getplatform.c @ 50830:e158c70511fe legacy-trunk

#4077: No need to append \n when calling Py_FatalError + fix a declaration to make it match the one in pythonrun.h
author Amaury Forgeot d'Arc <amauryfa@gmail.com>
date Sat, 17 Jan 2009 20:18:59 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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