Staging
v0.5.1
Revision fa42893546010a0c649ba0d85d41a8bb980086f0 authored by Ned Deily on 13 June 2016, 20:54:49 UTC, committed by Ned Deily on 13 June 2016, 20:54:49 UTC
1 parent 8b9173a
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