view Python/getplatform.c @ 44583:73e1bf179a01

Another patch for #1762972: __file__ points to the py file instead pyo/pyc file
author Christian Heimes <christian@cheimes.de>
date Mon, 07 Jan 2008 20:12:44 +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;
}