cpython/Python/getcompiler.c

18 lines
214 B
C
Raw Normal View History

1995-08-04 01:20:48 -03:00
#ifdef __GNUC__
#define COMPILER " [GCC " __VERSION__ "]"
#endif
#ifndef COMPILER
#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif
#endif
char *
getcompiler()
{
return COMPILER;
}