Staging
v0.5.1
https://github.com/python/cpython
Revision a6f6edbda8648698289a8ee7abef6a35c924151b authored by Yury Selivanov on 09 June 2016, 19:08:31 UTC, committed by Yury Selivanov on 09 June 2016, 19:08:31 UTC
1 parent ebe95fd
Raw File
Tip revision: a6f6edbda8648698289a8ee7abef6a35c924151b authored by Yury Selivanov on 09 June 2016, 19:08:31 UTC
Issue #27243: Fix __aiter__ protocol
Tip revision: a6f6edb
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