Staging
v0.5.1
https://github.com/python/cpython
Revision f05d1c0099fa3f5a46b0d9b0eb709db3bbb6cf2f authored by Martin v. Löwis on 03 March 2005, 23:15:04 UTC, committed by Martin v. Löwis on 03 March 2005, 23:15:04 UTC
1 parent eb08d7e
Raw File
Tip revision: f05d1c0099fa3f5a46b0d9b0eb709db3bbb6cf2f authored by Martin v. Löwis on 03 March 2005, 23:15:04 UTC
Patch #1103407: Properly deal with tarfile iterators when untarring
Tip revision: f05d1c0
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