Staging
v0.5.1
https://github.com/python/cpython
Revision 0d28764d3dbc41c1398812c5a7739c61579e3fd8 authored by Ezio Melotti on 15 September 2009, 18:46:35 UTC, committed by Ezio Melotti on 15 September 2009, 18:46:35 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74799 | ezio.melotti | 2009-09-15 21:41:43 +0300 (Tue, 15 Sep 2009) | 1 line

  #6917 - typo in method name
........
1 parent 25a3314
Raw File
Tip revision: 0d28764d3dbc41c1398812c5a7739c61579e3fd8 authored by Ezio Melotti on 15 September 2009, 18:46:35 UTC
Merged revisions 74799 via svnmerge from
Tip revision: 0d28764
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