Staging
v0.5.1
https://github.com/python/cpython
Revision fd82f2e86a8c0de59657465c68b0c442f5c59b35 authored by Martin v. Löwis on 14 June 2008, 14:24:47 UTC, committed by Martin v. Löwis on 14 June 2008, 14:24:47 UTC
1 parent 945c632
Raw File
Tip revision: fd82f2e86a8c0de59657465c68b0c442f5c59b35 authored by Martin v. Löwis on 14 June 2008, 14:24:47 UTC
Disable UAC by default.
Tip revision: fd82f2e
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