Staging
v0.8.1
Revision 62460bb376fda652834e27d7b8e13ca9a1733a1f authored by cvs2svn on 24 September 2003, 00:51:10 UTC, committed by cvs2svn on 24 September 2003, 00:51:10 UTC
1 parent fb6095a
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