view Python/getcompiler.c @ 35320:fa95fe91cdf7 legacy-trunk

Whitespace normalization (ran reindent.py over the whole tree).
author Tim Peters <tim.peters@gmail.com>
date Sun, 07 Aug 2005 03:04:58 +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;
}