0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Mac/Python/macgetcompiler.c

32 lines
439 B
C
Raw Normal View History

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__
#ifdef __powerc
#define COMPILER " [CW PPC]"
#else
#ifdef __CFM68K__
#define COMPILER " [CW CFM68K]"
#else
1995-08-08 16:11:07 +02:00
#define COMPILER " [CW 68K]"
#endif
#endif
#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 *
getcompiler()
{
return COMPILER;
}