diff options
author | Guido van Rossum <guido@python.org> | 1995-08-08 14:11:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-08 14:11:07 (GMT) |
commit | 6e39e53cde731123b104b1f39ce3165dea9f2865 (patch) | |
tree | 06d4ef4570a1d247ea0ccd9244ccaf5f6a65f8b0 /Mac/Python/macgetcompiler.c | |
parent | 222c8924c113f3b080674f35eb5fdfb986ecd340 (diff) | |
download | cpython-6e39e53cde731123b104b1f39ce3165dea9f2865.zip cpython-6e39e53cde731123b104b1f39ce3165dea9f2865.tar.gz cpython-6e39e53cde731123b104b1f39ce3165dea9f2865.tar.bz2 |
Initial revision
Diffstat (limited to 'Mac/Python/macgetcompiler.c')
-rw-r--r-- | Mac/Python/macgetcompiler.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c new file mode 100644 index 0000000..b249d67 --- /dev/null +++ b/Mac/Python/macgetcompiler.c @@ -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; +} |