Staging
v0.5.1
https://github.com/python/cpython
Revision 5c52f48200e9aeb099a3ca9c2d22b281765387e4 authored by Miss Islington (bot) on 10 June 2018, 02:04:32 UTC, committed by GitHub on 10 June 2018, 02:04:32 UTC
(cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
1 parent a5f0a8e
Raw File
Tip revision: 5c52f48200e9aeb099a3ca9c2d22b281765387e4 authored by Miss Islington (bot) on 10 June 2018, 02:04:32 UTC
Remove hyphens from phrase "picks up where it left off" (GH-7410)
Tip revision: 5c52f48
getcompiler.c

/* 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 to top