Staging
v0.5.1
Revision 9f04e6a110a1bd2c72a88ba04c5d5fff2d8c39e6 authored by Martin v. Löwis on 17 August 2006, 17:27:31 UTC, committed by Martin v. Löwis on 17 August 2006, 17:27:31 UTC
1 parent e1d4fe6
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