Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 84fc4ba67eedd249ae7643930eacd0058303b95c authored by Georg Brandl on 12 May 2013, 17:50:34 UTC
Closes #17962: Build with OpenSSL 1.0.1e on Windows.
Tip revision: 84fc4ba
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