view Python/getcompiler.c @ 78167:1c46f2ede4cb 3.2

Issue #15368: fixing variable typo.
author Meador Inge <meadori@gmail.com>
date Wed, 18 Jul 2012 16:41:03 -0500
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;
}