Staging
v0.8.1
Revision b0d497c0726c118d40dfadea807b32077f067100 authored by Serhiy Storchaka on 10 September 2016, 18:28:07 UTC, committed by Serhiy Storchaka on 10 September 2016, 18:28:07 UTC
appropriate types. Improved some error messages and debugging output.
1 parent b32e869
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