view Python/getcompiler.c @ 30723:6f15e73b59f2 2.3

Backport checkin: Fix a bunch of typos in documentation, docstrings and comments. (From SF patch #810751)
author Walter Dörwald <walter@livinglogic.de>
date Mon, 20 Oct 2003 14:34:48 +0000
parents 4306107b1395
children
line wrap: on
line source


/* 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;
}