view Python/getplatform.c @ 26598:56dbd9079a13 legacy-trunk

Patch #650415: Avoid redefinition of macros.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 11 Dec 2002 13:12: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;
}