summaryrefslogtreecommitdiffstats
path: root/Python/getcompiler.c
blob: a65789fb0722df0aa3aafebc7d9aae0ea671fdb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef __GNUC__
#define COMPILER " [GCC " __VERSION__ "]"
#endif

#ifndef COMPILER
#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif
#endif

char *
getcompiler()
{
	return COMPILER;
}