Staging
v0.5.1
https://github.com/python/cpython
Revision 3b0dad06d5b28fff147790ba7f1a28b9490a74d2 authored by Martin v. Löwis on 15 March 2005, 00:37:45 UTC, committed by Martin v. Löwis on 15 March 2005, 00:37:45 UTC
Indicate to the user when this is an upgrade installation.
Make CHM file non-advertised.
1 parent 5986a01
Raw File
Tip revision: 3b0dad06d5b28fff147790ba7f1a28b9490a74d2 authored by Martin v. Löwis on 15 March 2005, 00:37:45 UTC
Reuse componentids for *.dll across minor releases.
Tip revision: 3b0dad0
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