view Python/getplatform.c @ 86562:b5cc822d5bf0

Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the Python executable and not removed by the linker's optimizer.
author Christian Heimes <christian@cheimes.de>
date Tue, 22 Oct 2013 10:23:12 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}