view Python/getplatform.c @ 36605:cab36aaee2e3 legacy-trunk

Fix compiler warning on amd64. We can't use zd here since this is ultimately going to snprintf() not the python string formatter. Right?
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 19 Feb 2006 19:34:15 +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;
}