Added ref to Misc/NEWS file; added hint to run regen script on Linux.
[python/dscho.git] / Mac / Python / macgetcompiler.c
blobd93172b9305d5967eadf4b401ab3dfdb89029c95
1 /* Return a string representing the compiler name */
3 #ifdef THINK_C
4 #define COMPILER " [THINK C]"
5 #endif
7 #ifdef __MWERKS__
8 #ifdef USE_GUSI
9 #define HASGUSI " w/GUSI"
10 #else
11 #define HASGUSI ""
12 #endif
13 #ifdef __powerc
14 #define COMPILER " [CW PPC" HASGUSI "]"
15 #else
16 #ifdef __CFM68K__
17 #define COMPILER " [CW CFM68K" HASGUSI "]"
18 #else
19 #define COMPILER " [CW 68K" HASGUSI "]"
20 #endif
21 #endif
22 #endif
24 #ifdef MPW
25 #ifdef __SC__
26 #define COMPILER " [Symantec MPW]"
27 #else
28 #define COMPILER " [Apple MPW]"
29 #endif
30 #endif
32 char *
33 getcompiler()
35 return COMPILER;