Staging
v0.8.1
https://github.com/python/cpython
Revision ad80c6bb2afa6d46fc19104127d7b02f8a5e2169 authored by Martin v. Löwis on 08 March 2005, 15:05:18 UTC, committed by Martin v. Löwis on 08 March 2005, 15:05:18 UTC
1 parent 6349e89
Raw File
Tip revision: ad80c6bb2afa6d46fc19104127d7b02f8a5e2169 authored by Martin v. Löwis on 08 March 2005, 15:05:18 UTC
Build with --disable-unicode again. Fixes #1158607.
Tip revision: ad80c6b
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