view Python/getplatform.c @ 29842:014cc362aa91 legacy-trunk

Initialize thread_id to 0 in unthreaded build. Fixes #770247.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 13 Jul 2003 10:41:53 +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;
}