1995-08-08 14:11:07 +00: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
|
1995-08-14 12:30:15 +00:00
|
|
|
#ifdef __CFM68K__
|
|
|
|
#define COMPILER " [CW CFM68K]"
|
|
|
|
#else
|
1995-08-08 14:11:07 +00:00
|
|
|
#define COMPILER " [CW 68K]"
|
|
|
|
#endif
|
|
|
|
#endif
|
1995-08-14 12:30:15 +00:00
|
|
|
#endif
|
1995-08-08 14:11:07 +00:00
|
|
|
|
|
|
|
#ifdef MPW
|
|
|
|
#ifdef __SC__
|
|
|
|
#define COMPILER " [Symantec MPW]"
|
|
|
|
#else
|
|
|
|
#define COMPILER " [Apple MPW]"
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
char *
|
|
|
|
getcompiler()
|
|
|
|
{
|
|
|
|
return COMPILER;
|
|
|
|
}
|