Staging
v0.8.1
Revision 9626971c744525c2c4c1eee30089b7ef44ab822f authored by Larry Hastings on 05 July 2015, 02:13:02 UTC, committed by Larry Hastings on 05 July 2015, 02:13:02 UTC
1 parent aaa377f
Raw File
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