view Python/getplatform.c @ 53716:4f867f1494d5 legacy-trunk

Don't use PyOS_strnicmp for NaN and Inf detection: it's locale-aware.
author Mark Dickinson <dickinsm@gmail.com>
date Sun, 03 May 2009 22:33:34 +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;
}