Staging
v0.8.1
Revision 73cdff47b2ff80e38da49bb42e68646ae1d4f190 authored by Anthony Baxter on 23 March 2006, 02:49:35 UTC, committed by Anthony Baxter on 23 March 2006, 02:49:35 UTC
1 parent e311fdc
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