Files

29 lines
369 B
C
Raw Permalink Normal View History

2010-09-20 02:36:32 +00:00
/* 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)
{
2022-12-10 20:46:47 +00:00
return COMPILER;
2010-09-20 02:36:32 +00:00
}