https://github.com/python/cpython
Revision dedb2934aa70cd45d3999bc222f1f97575067fe5 authored by cvs2svn on 27 May 2004, 05:59:16 UTC, committed by cvs2svn on 27 May 2004, 05:59:16 UTC
1 parent c481f95
Raw File
Tip revision: dedb2934aa70cd45d3999bc222f1f97575067fe5 authored by cvs2svn on 27 May 2004, 05:59:16 UTC
This commit was manufactured by cvs2svn to create tag 'r234'.
Tip revision: dedb293
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;
}
back to top