Issue #7632: Fix a serious wrong output bug for string -> float conversion.
[python.git] / Python / getcompiler.c
blob0f441deb84d0b22af5a48dbf60c97cad6e9ff292
2 /* Return the compiler identification, if possible. */
4 #include "Python.h"
6 #ifndef COMPILER
8 #ifdef __GNUC__
9 #define COMPILER "\n[GCC " __VERSION__ "]"
10 #endif
12 #endif /* !COMPILER */
14 #ifndef COMPILER
16 #ifdef __cplusplus
17 #define COMPILER "[C++]"
18 #else
19 #define COMPILER "[C]"
20 #endif
22 #endif /* !COMPILER */
24 const char *
25 Py_GetCompiler(void)
27 return COMPILER;