view Python/getplatform.c @ 39439:1087df00a6e8 legacy-trunk

logging's atexit hook now runs even if the rest of the module has already been cleaned up.
author Georg Brandl <georg@python.org>
date Fri, 11 Aug 2006 07:26:10 +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;
}