view Python/getplatform.c @ 37679:58640983fd66 legacy-trunk

Use union to discriminate pointer types from enum/int types.
author Skip Montanaro <skip@pobox.com>
date Thu, 13 Apr 2006 09:37: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;
}