Staging
v0.8.1
Revision 2e1d8683c17f05cb1667e48f205856d8ad02a02a authored by Martin Panter on 15 May 2016, 13:21:25 UTC, committed by Martin Panter on 15 May 2016, 13:21:25 UTC
Also force terminate the child process in case it hangs for any reason.
1 parent f47fc55
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