view Python/getplatform.c @ 21074:47ea73fd7e6b legacy-trunk

Use PyOS_snprintf when possible.
author Jeremy Hylton <jeremy@alum.mit.edu>
date Wed, 28 Nov 2001 20:29:22 +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;
}