view Python/getplatform.c @ 74061:03701ac95d25

iobench.py: add more info in the header Write the Python version, Unicode implementation and the platform.
author Victor Stinner <victor.stinner@haypocalc.com>
date Sun, 18 Dec 2011 21:38:51 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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