view Python/getplatform.c @ 22801:f0277146aa16 legacy-trunk

Fix by Greg Chapman from SF bug 534347: Potential AV in vgetargskeywords. Bugfix candidate.
author Guido van Rossum <guido@python.org>
date Thu, 04 Apr 2002 16:22:30 +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;
}