Staging
v0.5.1
https://github.com/python/cpython
Revision aa580508431d231677cfaa13ac9b6aa37538b9ef authored by Miss Islington (bot) on 11 December 2018, 06:39:34 UTC, committed by GitHub on 11 December 2018, 06:39:34 UTC
(cherry picked from commit 7cf3d8e25174c8871883e42f3240fd7f01efd3a8)

Co-authored-by: Ned Deily <nad@python.org>
1 parent 55076cc
Raw File
Tip revision: aa580508431d231677cfaa13ac9b6aa37538b9ef authored by Miss Islington (bot) on 11 December 2018, 06:39:34 UTC
bpo-35402: Update macOS installer to use Tcl 8.6.9 / Tk 8.6.9.1 (GH-11101)
Tip revision: aa58050
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