Staging
v0.8.1
Revision d0a91afa70cb9e4176d1fd05f4e9dcc26b4763c6 authored by Neal Norwitz on 02 April 2008, 05:54:27 UTC, committed by Neal Norwitz on 02 April 2008, 05:54:27 UTC
on various platforms, most recently the Alpha Tru64.
1 parent ab56131
Raw File
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