From: Guido van Rossum Date: Tue, 8 Aug 1995 14:11:07 +0000 (+0000) Subject: Initial revision X-Git-Tag: v1.3b1~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e39e53cde731123b104b1f39ce3165dea9f2865;p=thirdparty%2FPython%2Fcpython.git Initial revision --- diff --git a/Mac/Python/macgetcompiler.c b/Mac/Python/macgetcompiler.c new file mode 100644 index 000000000000..b249d671a67b --- /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; +}