view Python/getplatform.c @ 31156:94dff4a02ca3 legacy-trunk

Revamped framework search path handling for MacOSX. This should allow two framework builds (in /Library and /System/Library) to coexist with distutils linking against the right one. Should be backported to 2.3, but getting Apple-supplied Python to pick up these fixes is going to be non-trivial.
author Jack Jansen <jack.jansen@cwi.nl>
date Mon, 08 Dec 2003 01:10:12 +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;
}