view Python/getplatform.c @ 26319:90e9a3ecda44 legacy-trunk

Move three variables that are only used inside an if block into the block, so the --disable-unicode build doesn't complain about unused variables.
author Walter Dörwald <walter@livinglogic.de>
date Thu, 21 Nov 2002 20:13:40 +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;
}