view Python/getplatform.c @ 42459:dbfc3cf1522d legacy-trunk

Place #ifdef Py_USING_UNICODE around decode_unicode().
author Georg Brandl <georg@python.org>
date Mon, 06 Aug 2007 07:37:58 +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;
}