view Python/getplatform.c @ 79828:1856d57abfc8 3.2

Issue #6074: Forward port Windows read-only source file fix from 2.7
author Nick Coghlan <ncoghlan@gmail.com>
date Fri, 19 Oct 2012 22:38:14 +1000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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