Staging
v0.5.1
https://github.com/python/cpython
Revision 1dee4565fae9ccb54719fa99d7944c148736083a authored by Miss Islington (bot) on 24 February 2019, 07:56:12 UTC, committed by Ned Deily on 24 February 2019, 07:56:12 UTC
(cherry picked from commit aeca373b339e0ea9739536ce6b43bd90f3b89873)

Co-authored-by: Ned Deily <nad@python.org>
1 parent 2a3af94
Raw File
Tip revision: 1dee4565fae9ccb54719fa99d7944c148736083a authored by Miss Islington (bot) on 24 February 2019, 07:56:12 UTC
bpo-27313: Avoid test_ttk_guionly ComboboxTest fail with macOS Cocoa Tk (GH-12011) (GH-12013)
Tip revision: 1dee456
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