view Mac/Python/macgetcompiler.c @ 4923:ae573922fdcd legacy-trunk

Mac-specific version of getmtime (for non-GUSI Python, which needs different include files)
author Jack Jansen <jack.jansen@cwi.nl>
date Fri, 10 Jan 1997 15:24:19 +0000
parents 1dee3e4f67df
children d6b292a33cfe
line wrap: on
line source

/* 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;
}