Staging
v0.5.1
https://github.com/python/cpython
Revision e76cbc781044ee01b059f3702c580e66266b84c5 authored by Larry Hastings on 18 March 2019, 16:51:26 UTC, committed by Larry Hastings on 18 March 2019, 16:51:26 UTC
1 parent 8daddae
Raw File
Tip revision: e76cbc781044ee01b059f3702c580e66266b84c5 authored by Larry Hastings on 18 March 2019, 16:51:26 UTC
Version bump for 3.4.10.
Tip revision: e76cbc7
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