0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 08:52:25 +01:00
cpython/Python/getcompiler.c

18 lines
214 B
C
Raw Normal View History

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