Staging
v0.5.1
https://github.com/python/cpython
Revision 67e8e5633ed52454e9e47e67cf016997c0832b65 authored by Antoine Pitrou on 01 September 2010, 20:55:41 UTC, committed by Antoine Pitrou on 01 September 2010, 20:55:41 UTC
1 parent a09dc9e
Raw File
Tip revision: 67e8e5633ed52454e9e47e67cf016997c0832b65 authored by Antoine Pitrou on 01 September 2010, 20:55:41 UTC
Try to fix some buildbot failures on test_ssl
Tip revision: 67e8e56
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