mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Initial revision
This commit is contained in:
parent
222c8924c1
commit
6e39e53cde
1 changed files with 27 additions and 0 deletions
27
Mac/Python/macgetcompiler.c
Normal file
27
Mac/Python/macgetcompiler.c
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/* Return a string representing the compiler name */
|
||||||
|
|
||||||
|
#ifdef THINK_C
|
||||||
|
#define COMPILER " [THINK C]"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __MWERKS__
|
||||||
|
#ifdef __powerc
|
||||||
|
#define COMPILER " [CW PPC]"
|
||||||
|
#else
|
||||||
|
#define COMPILER " [CW 68K]"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef MPW
|
||||||
|
#ifdef __SC__
|
||||||
|
#define COMPILER " [Symantec MPW]"
|
||||||
|
#else
|
||||||
|
#define COMPILER " [Apple MPW]"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
char *
|
||||||
|
getcompiler()
|
||||||
|
{
|
||||||
|
return COMPILER;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue