Mercurial > cpython-lru_cache-weakref
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Mac/Python/macgetcompiler.c Tue Aug 08 14:11:07 1995 +0000 @@ -0,0 +1,27 @@ +/* Return a string representing the compiler name */ + +#ifdef THINK_C +#define COMPILER " [THINK C]" +#endif + +#ifdef __MWERKS__ +#ifdef __powerc +#define COMPILER " [CW PPC]" +#else +#define COMPILER " [CW 68K]" +#endif +#endif + +#ifdef MPW +#ifdef __SC__ +#define COMPILER " [Symantec MPW]" +#else +#define COMPILER " [Apple MPW]" +#endif +#endif + +char * +getcompiler() +{ + return COMPILER; +}
