view Python/getplatform.c @ 26321:680360e68a06 legacy-trunk

Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that the --disable-unicode build doesn't complain about an unused variable.
author Walter Dörwald <walter@livinglogic.de>
date Thu, 21 Nov 2002 20:23:11 +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;
}