view Python/getplatform.c @ 52817:634502be8dcc legacy-trunk

- Issue #3845: In PyRun_SimpleFileExFlags avoid invalid memory access with short file names.
author Matthias Klose <doko@ubuntu.com>
date Sat, 04 Apr 2009 14:18:13 +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;
}