view Python/getcompiler.c @ 34834:7cfda9898863 legacy-trunk

Move exception finalisation later in the shutdown process - this fixes the crash seen in bug #1165761
author Anthony Baxter <anthonybaxter@gmail.com>
date Tue, 29 Mar 2005 13:36:16 +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;
}