view Python/getplatform.c @ 34762:fcb507414c41 2.4

Patch #1163249 - Correctly handle _POSIX_SEMAPHORES == -1 to mean no support for posix semaphores.
author Anthony Baxter <anthonybaxter@gmail.com>
date Wed, 16 Mar 2005 04:13:29 +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;
}