Python-2.7.3/Python/getcompiler.c

No issues found

 1 /* Return the compiler identification, if possible. */
 2 
 3 #include "Python.h"
 4 
 5 #ifndef COMPILER
 6 
 7 #ifdef __GNUC__
 8 #define COMPILER "\n[GCC " __VERSION__ "]"
 9 #endif
10 
11 #endif /* !COMPILER */
12 
13 #ifndef COMPILER
14 
15 #ifdef __cplusplus
16 #define COMPILER "[C++]"
17 #else
18 #define COMPILER "[C]"
19 #endif
20 
21 #endif /* !COMPILER */
22 
23 const char *
24 Py_GetCompiler(void)
25 {
26 	return COMPILER;
27 }