cpython/Python/getcompiler.c

18 lines
214 B
C
Raw Normal View History

1995-08-04 04:20:48 +00: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;
}