Mercurial > cpython-lru_cache-weakref
annotate Mac/Python/macgetcompiler.c @ 3930:52c19ee83a6b legacy-trunk
Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 02 Aug 1996 15:16:16 +0000 |
| parents | a22438e94fe9 |
| children | 1dee3e4f67df |
| 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 * | |
|
3750
a22438e94fe9
Old names changed to Py_GetCopyright, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents:
3394
diff
changeset
|
33 Py_GetCompiler() |
| 2930 | 34 { |
| 35 return COMPILER; | |
| 36 } |
