Staging
v0.5.1
https://github.com/python/cpython
Revision 6061612b0edaf2b59a6dd51805cd1d5f5418c2a2 authored by Georg Brandl on 16 November 2008, 08:02:56 UTC, committed by Georg Brandl on 16 November 2008, 08:02:56 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r67227 | georg.brandl | 2008-11-16 09:00:17 +0100 (Sun, 16 Nov 2008) | 2 lines

  #4316: fix configure.in markup problem.
........
1 parent fd0e763
Raw File
Tip revision: 6061612b0edaf2b59a6dd51805cd1d5f5418c2a2 authored by Georg Brandl on 16 November 2008, 08:02:56 UTC
Merged revisions 67227 via svnmerge from
Tip revision: 6061612
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