SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 41 Python
/* Return the compiler identification, if possible. */
#include "Python.h"
#ifndef COMPILER
1995-08-04 04:20:48 +00:00
#ifdef __GNUC__
#define COMPILER "\n[GCC " __VERSION__ "]"
1995-08-04 04:20:48 +00:00
#endif
#endif /* !COMPILER */
1995-08-04 04:20:48 +00:00
#ifndef COMPILER
1995-08-04 04:20:48 +00:00
#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif
#endif /* !COMPILER */
1995-08-04 04:20:48 +00:00
1997-07-19 19:48:41 +00:00
const char *
Py_GetCompiler(void)
1995-08-04 04:20:48 +00:00
{
return COMPILER;
}