Staging
v0.5.1
https://github.com/python/cpython
Revision 57797521bdc5d64eb2440a5818a20c2dbc6358cb authored by Yury Selivanov on 19 February 2014, 03:56:15 UTC, committed by Yury Selivanov on 19 February 2014, 03:56:15 UTC
1 parent dec1a45
Raw File
Tip revision: 57797521bdc5d64eb2440a5818a20c2dbc6358cb authored by Yury Selivanov on 19 February 2014, 03:56:15 UTC
asyncio: pep8-ify the code.
Tip revision: 5779752
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