Staging
v0.5.1
https://github.com/python/cpython
Revision f497e7465621b2d092205868db6ab9261fbe467e authored by Larry Hastings on 20 July 2018, 02:31:49 UTC, committed by Larry Hastings on 20 July 2018, 02:31:49 UTC
1 parent 7df16b1
Raw File
Tip revision: f497e7465621b2d092205868db6ab9261fbe467e authored by Larry Hastings on 20 July 2018, 02:31:49 UTC
Post-release version bump for 3.5.6rc1.
Tip revision: f497e74
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