Staging
v0.5.1
https://github.com/python/cpython
Revision 59ad45689ba71f960201e681f98ed0afbac87d46 authored by Walter Dörwald on 02 July 2004, 19:00:09 UTC, committed by Walter Dörwald on 02 July 2004, 19:00:09 UTC
1 parent 0a4dd39
Raw File
Tip revision: 59ad45689ba71f960201e681f98ed0afbac87d46 authored by Walter Dörwald on 02 July 2004, 19:00:09 UTC
Add tests that check the result of calendar.monthcalendar() for a set
Tip revision: 59ad456
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