Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 6c3a3aa17b028f6b93067083d32c7eaa4338757c authored by cvs2svn on 25 October 1996, 15:40:20 UTC
This commit was manufactured by cvs2svn to create tag 'release14'.
Tip revision: 6c3a3aa
macgetcompiler.c
/* Return a string representing the compiler name */

#include "config.h"

#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;
}
back to top