Another batch of updates...
[python/dscho.git] / Mac / Python / macgetcompiler.c
blob999e74a9c60ada77c23f1650b2721cbe09a4d427
1 /* Return a string representing the compiler name */
3 #include "config.h"
5 #ifdef THINK_C
6 #define COMPILER " [THINK C]"
7 #endif
9 #ifdef __MWERKS__
10 #ifdef USE_GUSI
11 #define HASGUSI " w/GUSI"
12 #else
13 #define HASGUSI ""
14 #endif
15 #ifdef __powerc
16 #define COMPILER " [CW PPC" HASGUSI "]"
17 #else
18 #ifdef __CFM68K__
19 #define COMPILER " [CW CFM68K" HASGUSI "]"
20 #else
21 #define COMPILER " [CW 68K" HASGUSI "]"
22 #endif
23 #endif
24 #endif
26 #ifdef MPW
27 #ifdef __SC__
28 #define COMPILER " [Symantec MPW]"
29 #else
30 #define COMPILER " [Apple MPW]"
31 #endif
32 #endif
34 char *
35 Py_GetCompiler()
37 return COMPILER;