view Python/getplatform.c @ 19063:9cc67aafec6c legacy-trunk

Put conditional S_IFMT definition into pyport.h.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 08 Aug 2001 12:54:28 +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;
}