Staging
v0.8.1
Revision aa767a555b6aefc542cf62f390440fc4222db81d authored by Serhiy Storchaka on 03 May 2015, 12:35:02 UTC, committed by Serhiy Storchaka on 03 May 2015, 12:35:02 UTC
1 parent 10324f8
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