Staging
v0.8.1
v0.8.1
Revision 1a34834e0993d46fc81f4ef6639e6c278d5879d9 authored by Georg Brandl on 31 May 2008, 18:34:27 UTC, committed by Georg Brandl on 31 May 2008, 18:34:27 UTC
1 parent 84d18a9
getcompiler.c
/* 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;
}
Computing file changes ...