Staging
v0.5.1
https://github.com/python/cpython
Revision c1d3096affe0ab021fb97f0c401abc1542c6a05b authored by Greg Ward on 05 March 2005, 02:38:33 UTC, committed by Greg Ward on 05 March 2005, 02:38:33 UTC
1 parent dce2f36
Raw File
Tip revision: c1d3096affe0ab021fb97f0c401abc1542c6a05b authored by Greg Ward on 05 March 2005, 02:38:33 UTC
SF #1149508: ensure textwrap handles hyphenated numbers correctly,
Tip revision: c1d3096
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