blob: b249d671a67b2daef3dff4de6b89d55269f1d9a1 [file] [log] [blame]
Guido van Rossum6e39e531995-08-08 14:11:07 +00001/* Return a string representing the compiler name */
2
3#ifdef THINK_C
4#define COMPILER " [THINK C]"
5#endif
6
7#ifdef __MWERKS__
8#ifdef __powerc
9#define COMPILER " [CW PPC]"
10#else
11#define COMPILER " [CW 68K]"
12#endif
13#endif
14
15#ifdef MPW
16#ifdef __SC__
17#define COMPILER " [Symantec MPW]"
18#else
19#define COMPILER " [Apple MPW]"
20#endif
21#endif
22
23char *
24getcompiler()
25{
26 return COMPILER;
27}