Staging
v0.5.1
https://github.com/python/cpython
Revision bc4b5072ffd8747cc7bf967b456c2fe5d88ad15b authored by cvs2svn on 09 April 2002, 01:16:08 UTC, committed by cvs2svn on 09 April 2002, 01:16:08 UTC
1 parent 9c55088
Raw File
Tip revision: bc4b5072ffd8747cc7bf967b456c2fe5d88ad15b authored by cvs2svn on 09 April 2002, 01:16:08 UTC
This commit was manufactured by cvs2svn to create tag 'r213'.
Tip revision: bc4b507
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