Staging
v0.8.1
Revision 9bf51fefd011de3a439b7553e65a759c4469285d authored by Barry Warsaw on 01 October 2013, 00:37:45 UTC, committed by Barry Warsaw on 01 October 2013, 00:37:45 UTC
1 parent be1950d
Raw File
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