Staging
v0.5.1
https://github.com/python/cpython
Revision 4da0fd06ce49132d5c2e0525c4a31f807690a9ed authored by Berker Peksag on 11 September 2016, 11:53:16 UTC, committed by Berker Peksag on 11 September 2016, 11:53:16 UTC
1 parent 8be1740
Raw File
Tip revision: 4da0fd06ce49132d5c2e0525c4a31f807690a9ed authored by Berker Peksag on 11 September 2016, 11:53:16 UTC
Issue #25497: Rewrite test_robotparser to use a class based design
Tip revision: 4da0fd0
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