Mercurial > cpython-lru_cache-weakref
annotate Mac/Python/macgetcompiler.c @ 3394:4fea6cd94dfa legacy-trunk
Modified for GUSI
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 14 Feb 1996 16:02:30 +0000 |
| parents | 7b3911960564 |
| children | a22438e94fe9 |
| 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__ | |
| 3394 | 8 #ifdef USE_GUSI |
| 9 #define HASGUSI " w/GUSI" | |
| 10 #else | |
| 11 #define HASGUSI "" | |
| 12 #endif | |
| 2930 | 13 #ifdef __powerc |
| 3394 | 14 #define COMPILER " [CW PPC" HASGUSI "]" |
| 2930 | 15 #else |
|
2983
7b3911960564
Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the
Jack Jansen <jack.jansen@cwi.nl>
parents:
2930
diff
changeset
|
16 #ifdef __CFM68K__ |
| 3394 | 17 #define COMPILER " [CW CFM68K" HASGUSI "]" |
|
2983
7b3911960564
Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the
Jack Jansen <jack.jansen@cwi.nl>
parents:
2930
diff
changeset
|
18 #else |
| 3394 | 19 #define COMPILER " [CW 68K" HASGUSI "]" |
| 2930 | 20 #endif |
| 21 #endif | |
|
2983
7b3911960564
Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the
Jack Jansen <jack.jansen@cwi.nl>
parents:
2930
diff
changeset
|
22 #endif |
| 2930 | 23 |
| 24 #ifdef MPW | |
| 25 #ifdef __SC__ | |
| 26 #define COMPILER " [Symantec MPW]" | |
| 27 #else | |
| 28 #define COMPILER " [Apple MPW]" | |
| 29 #endif | |
| 30 #endif | |
| 31 | |
| 32 char * | |
| 33 getcompiler() | |
| 34 { | |
| 35 return COMPILER; | |
| 36 } |
