Staging
v0.5.1
https://github.com/python/cpython
Revision a56f1c0495687d62d0dc72cccb032a9904cc8c2d authored by Tarek Ziadé on 23 February 2010, 06:03:01 UTC, committed by Tarek Ziadé on 23 February 2010, 06:03:01 UTC
................
  r78369 | tarek.ziade | 2010-02-23 01:00:04 -0500 (Tue, 23 Feb 2010) | 9 lines

  Merged revisions 78367 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line

    fixed #5801: removed spurious empty lines in wsgiref
  ........
................
1 parent e31c6e4
Raw File
Tip revision: a56f1c0495687d62d0dc72cccb032a9904cc8c2d authored by Tarek Ziadé on 23 February 2010, 06:03:01 UTC
Blocked revisions 78369 via svnmerge
Tip revision: a56f1c0
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