view Python/getplatform.c @ 85280:5e679ef2a55c 2.7

Issue #13461: Fix a crash in the TextIOWrapper.tell method and in the "replace" error handler on 64-bit platforms. Patch by Yogesh Chaudhari.
author Serhiy Storchaka <storchaka@gmail.com>
date Tue, 20 Aug 2013 20:08:53 +0300
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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