Staging
v0.8.1
Revision 1da6eb091aaa8bddbc27241200793b68d5eed3bc authored by Jack Jansen on 30 August 2001, 21:29:57 UTC, committed by Jack Jansen on 30 August 2001, 21:29:57 UTC
1 parent ba0ba41
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