view Python/getplatform.c @ 49924:d172dd8d9e09

Bug #4495: Fix signed/unsigned warning (both namelen and tailen should be signed, not just namelen).
author Raymond Hettinger <python@rcn.com>
date Tue, 02 Dec 2008 20:59:48 +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;
}