Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: c6143338b399ee4164321af027144d714597528b authored by cvs2svn on 01 July 1996, 18:34:03 UTC
This commit was manufactured by cvs2svn to create tag 'r14beta1'.
Tip revision: c614333
macgetcompiler.c
/* 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 *
getcompiler()
{
	return COMPILER;
}
back to top