Mercurial > cpython-lru_cache-weakref
annotate Mac/Python/macgetcompiler.c @ 2930:7392790328bb legacy-trunk
Initial revision
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 08 Aug 1995 14:11:07 +0000 |
| parents | |
| children | 7b3911960564 |
| rev | line source |
|---|---|
| 2930 | 1 /* 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 | |
| 23 char * | |
| 24 getcompiler() | |
| 25 { | |
| 26 return COMPILER; | |
| 27 } |
