Staging
v0.8.1
Revision f82ba5bf55d80136db20bf5e65d577f3fec46c27 authored by Fred Drake on 01 April 2002, 23:29:02 UTC, committed by Fred Drake on 01 April 2002, 23:29:02 UTC
1 parent f063299
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