view Python/getplatform.c @ 69676:89ebde7cd8ea 3.2

Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows)
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 29 Apr 2011 00:44:33 +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;
}