1995-08-08 16:11:07 +02:00
|
|
|
/* Return a string representing the compiler name */
|
|
|
|
|
|
|
|
#ifdef THINK_C
|
|
|
|
#define COMPILER " [THINK C]"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __MWERKS__
|
1996-02-14 17:02:30 +01:00
|
|
|
#ifdef USE_GUSI
|
|
|
|
#define HASGUSI " w/GUSI"
|
|
|
|
#else
|
|
|
|
#define HASGUSI ""
|
|
|
|
#endif
|
1995-08-08 16:11:07 +02:00
|
|
|
#ifdef __powerc
|
1996-02-14 17:02:30 +01:00
|
|
|
#define COMPILER " [CW PPC" HASGUSI "]"
|
1995-08-08 16:11:07 +02:00
|
|
|
#else
|
1995-08-14 14:30:15 +02:00
|
|
|
#ifdef __CFM68K__
|
1996-02-14 17:02:30 +01:00
|
|
|
#define COMPILER " [CW CFM68K" HASGUSI "]"
|
1995-08-14 14:30:15 +02:00
|
|
|
#else
|
1996-02-14 17:02:30 +01:00
|
|
|
#define COMPILER " [CW 68K" HASGUSI "]"
|
1995-08-08 16:11:07 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
1995-08-14 14:30:15 +02:00
|
|
|
#endif
|
1995-08-08 16:11:07 +02:00
|
|
|
|
|
|
|
#ifdef MPW
|
|
|
|
#ifdef __SC__
|
|
|
|
#define COMPILER " [Symantec MPW]"
|
|
|
|
#else
|
|
|
|
#define COMPILER " [Apple MPW]"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
char *
|
1996-07-10 17:48:25 +02:00
|
|
|
Py_GetCompiler()
|
1995-08-08 16:11:07 +02:00
|
|
|
{
|
|
|
|
return COMPILER;
|
|
|
|
}
|