Staging
v0.5.1
https://github.com/python/cpython
Revision d15108a4789aa1e3c12b2890b770550c90a30913 authored by Benjamin Peterson on 29 September 2017, 15:42:41 UTC, committed by GitHub on 29 September 2017, 15:42:41 UTC
Instead, simply pass 's' to ar.
1 parent 90f1d98
Raw File
Tip revision: d15108a4789aa1e3c12b2890b770550c90a30913 authored by Benjamin Peterson on 29 September 2017, 15:42:41 UTC
stop using ranlib (closes bpo-31625) (#3815)
Tip revision: d15108a
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