view Python/getplatform.c @ 87610:dfadce7635ce 3.3

Skip test_find_mac on Windows (issue #19804). This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
author Serhiy Storchaka <storchaka@gmail.com>
date Wed, 27 Nov 2013 08:57:51 +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;
}