view Python/getplatform.c @ 84331:dfc020b4b123

If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified.
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 25 Jun 2013 00:37:25 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}