mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
Initial revision
This commit is contained in:
parent
37ba0bc50b
commit
667d704997
8 changed files with 1013 additions and 0 deletions
17
Python/getcompiler.c
Normal file
17
Python/getcompiler.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifdef __GNUC__
|
||||
#define COMPILER " [GCC " __VERSION__ "]"
|
||||
#endif
|
||||
|
||||
#ifndef COMPILER
|
||||
#ifdef __cplusplus
|
||||
#define COMPILER "[C++]"
|
||||
#else
|
||||
#define COMPILER "[C]"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
char *
|
||||
getcompiler()
|
||||
{
|
||||
return COMPILER;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue