view Python/getplatform.c @ 17817:f7c385226f65 legacy-trunk

Add support for Windows using "mbcs" as the default Unicode encoding when dealing with the file system. As discussed on python-dev and in patch 410465.
author Mark Hammond <mhammond@skippinet.com.au>
date Sun, 13 May 2001 08:04:26 +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;
}