Staging
v0.8.1
Revision ddd71e2f78ba06c77323e74de21dacef47f78168 authored by Gregory P. Smith on 18 December 2013, 19:25:26 UTC, committed by Gregory P. Smith on 18 December 2013, 19:25:26 UTC
1 parent b56c517
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