FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Python/getcompiler.c at 3.5 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.4k
(2.4k)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Python
/
getcompiler.c
Copy path
More file actions
More file actions
Latest commit
History
History
History
28 lines (19 loc) · 366 Bytes
Breadcrumbs
cpython
/
Python
/
getcompiler.c
Copy path
File metadata and controls
28 lines (19 loc) · 366 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* Return the compiler identification, if possible. */
#include
"Python.h"
#ifndef
COMPILER
#ifdef
__GNUC__
#define
COMPILER
"\n[GCC " __VERSION__ "]"
#endif
#endif
/* !COMPILER */
#ifndef
COMPILER
#ifdef
__cplusplus
#define
COMPILER
"[C++]"
#else
#define
COMPILER
"[C]"
#endif
#endif
/* !COMPILER */
const
char
*
Py_GetCompiler
(
void
)
{
return
COMPILER
;
}
Back
|
FazBrowse Home
|
New Git URL