view Python/getcompiler.c @ 39686:aca709f33a6a

SF patch 1546297 (with some tweaks): Create a real zip iterator object; not using itertools.izip (Brian Holmes).
author Guido van Rossum <guido@python.org>
date Fri, 25 Aug 2006 23:26:40 +0000
parents 4306107b1395
children
line wrap: on
line source


/* Return the compiler identification, if possible. */

#include "Python.h"

#ifndef COMPILER

#ifdef __GNUC__
#define COMPILER "\n[GCC " __VERSION__ "]"
#endif

#endif /* !COMPILER */

#ifndef COMPILER

#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif

#endif /* !COMPILER */

const char *
Py_GetCompiler(void)
{
	return COMPILER;
}