getplatform.c 130 Bytes
Newer Older
1 2 3

#include "Python.h"

Guido van Rossum's avatar
Guido van Rossum committed
4 5 6 7
#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

8
const char *
9
Py_GetPlatform(void)
Guido van Rossum's avatar
Guido van Rossum committed
10 11 12
{
	return PLATFORM;
}