view Python/getplatform.c @ 71193:13e6d3cb2ecd

Issue #9642: Uniformize the tests on the availability of the mbcs codec Add a new HAVE_MBCS define.
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 04 Jul 2011 14:23:54 +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;
}