blob: 67399d8fcda6e6f913833c6fcff038f143d9af56 [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
Jack Jansenf717ac21995-08-14 12:30:15 +000011#ifdef __CFM68K__
12#define COMPILER " [CW CFM68K]"
13#else
Guido van Rossum6e39e531995-08-08 14:11:07 +000014#define COMPILER " [CW 68K]"
15#endif
16#endif
Jack Jansenf717ac21995-08-14 12:30:15 +000017#endif
Guido van Rossum6e39e531995-08-08 14:11:07 +000018
19#ifdef MPW
20#ifdef __SC__
21#define COMPILER " [Symantec MPW]"
22#else
23#define COMPILER " [Apple MPW]"
24#endif
25#endif
26
27char *
28getcompiler()
29{
30 return COMPILER;
31}