Staging
v0.8.1
Revision fef7e94fa12f21c09997bd02809e677830966646 authored by Łukasz Langa on 10 September 2016, 04:47:46 UTC, committed by Łukasz Langa on 10 September 2016, 04:47:46 UTC
1 parent 9e3ef52
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