Mercurial > cpython-lru_cache-weakref
annotate Mac/Python/macgetcompiler.c @ 4019:1dee3e4f67df legacy-trunk
Include config.h
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Mon, 19 Aug 1996 11:36:59 +0000 |
| parents | a22438e94fe9 |
| children | d6b292a33cfe |
| rev | line source |
|---|---|
| 2930 | 1 /* Return a string representing the compiler name */ |
| 2 | |
| 4019 | 3 #include "config.h" |
| 4 | |
| 2930 | 5 #ifdef THINK_C |
| 6 #define COMPILER " [THINK C]" | |
| 7 #endif | |
| 8 | |
| 9 #ifdef __MWERKS__ | |
| 3394 | 10 #ifdef USE_GUSI |
| 11 #define HASGUSI " w/GUSI" | |
| 12 #else | |
| 13 #define HASGUSI "" | |
| 14 #endif | |
| 2930 | 15 #ifdef __powerc |
| 3394 | 16 #define COMPILER " [CW PPC" HASGUSI "]" |
| 2930 | 17 #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
|
18 #ifdef __CFM68K__ |
| 3394 | 19 #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
|
20 #else |
| 3394 | 21 #define COMPILER " [CW 68K" HASGUSI "]" |
| 2930 | 22 #endif |
| 23 #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
|
24 #endif |
| 2930 | 25 |
| 26 #ifdef MPW | |
| 27 #ifdef __SC__ | |
| 28 #define COMPILER " [Symantec MPW]" | |
| 29 #else | |
| 30 #define COMPILER " [Apple MPW]" | |
| 31 #endif | |
| 32 #endif | |
| 33 | |
| 34 char * | |
|
3750
a22438e94fe9
Old names changed to Py_GetCopyright, etc.
Jack Jansen <jack.jansen@cwi.nl>
parents:
3394
diff
changeset
|
35 Py_GetCompiler() |
| 2930 | 36 { |
| 37 return COMPILER; | |
| 38 } |
