view Python/getplatform.c @ 28383:f99cf9bfbbaf legacy-trunk

Include Python.h first which defines _XOPEN_SOURCE which allows the file to compile and removes a warning about _XOPEN_SOURCE being redefined (works on AIX 4.3 and 5.1 at least).
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 22 Mar 2003 16:35:37 +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;
}