Staging
v0.5.1
https://github.com/python/cpython
Revision 5b37f97ea5ac9f6b33b0e0269c69539cbb478142 authored by Serhiy Storchaka on 17 October 2013, 20:05:19 UTC, committed by Serhiy Storchaka on 17 October 2013, 20:05:19 UTC
2 parent s 2bb0ac0 + d3b7505
Raw File
Tip revision: 5b37f97ea5ac9f6b33b0e0269c69539cbb478142 authored by Serhiy Storchaka on 17 October 2013, 20:05:19 UTC
Issue #19276: Fixed the wave module on 64-bit big-endian platforms.
Tip revision: 5b37f97
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