Staging
v0.8.1
https://github.com/python/cpython
Revision f3655c439ddfaef9ee5926f24e26b84e379c2008 authored by Gregory P. Smith on 02 December 2008, 23:52:53 UTC, committed by Gregory P. Smith on 02 December 2008, 23:52:53 UTC
1 parent c46ee54
Raw File
Tip revision: f3655c439ddfaef9ee5926f24e26b84e379c2008 authored by Gregory P. Smith on 02 December 2008, 23:52:53 UTC
interators -> iterators (thanks Taggnostr)
Tip revision: f3655c4
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