Staging
v0.8.1
Revision e2c1657dff86decf1e232b66e766d2e51381109c authored by Miss Islington (bot) on 05 September 2018, 14:45:08 UTC, committed by Victor Stinner on 05 September 2018, 14:45:08 UTC
distutils.spawn.find_executable() now falls back on os.defpath if the
PATH environment variable is not set.
(cherry picked from commit 39487196c87e28128ea907a0d9b8a88ba53f68d5)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 635461f
Raw File
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