view Python/getcompiler.c @ 47978:ca0d620cd63b 2.5

Issue #3360: Fix incorrect parsing of '020000000000.0'. This is a backport of r65005.
author Mark Dickinson <dickinsm@gmail.com>
date Wed, 16 Jul 2008 11:04:17 +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;
}