view Python/getplatform.c @ 26499:76f79bb36fc7 legacy-trunk

Add compile-time errors for unsupported systems.
author Martin v. Löwis <martin@v.loewis.de>
date Mon, 02 Dec 2002 22:17:01 +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;
}