Mercurial > cpython-lru_cache-weakref
view 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 |
line wrap: on
line source
/* Return a string representing the compiler name */ #ifdef THINK_C #define COMPILER " [THINK C]" #endif #ifdef __MWERKS__ #ifdef USE_GUSI #define HASGUSI " w/GUSI" #else #define HASGUSI "" #endif #ifdef __powerc #define COMPILER " [CW PPC" HASGUSI "]" #else #ifdef __CFM68K__ #define COMPILER " [CW CFM68K" HASGUSI "]" #else #define COMPILER " [CW 68K" HASGUSI "]" #endif #endif #endif #ifdef MPW #ifdef __SC__ #define COMPILER " [Symantec MPW]" #else #define COMPILER " [Apple MPW]" #endif #endif char * Py_GetCompiler() { return COMPILER; }
