diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/tools/python3/src/Python/getcompiler.c | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'contrib/tools/python3/src/Python/getcompiler.c')
-rw-r--r-- | contrib/tools/python3/src/Python/getcompiler.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/contrib/tools/python3/src/Python/getcompiler.c b/contrib/tools/python3/src/Python/getcompiler.c deleted file mode 100644 index a5d26239e87..00000000000 --- a/contrib/tools/python3/src/Python/getcompiler.c +++ /dev/null @@ -1,27 +0,0 @@ - -/* Return the compiler identification, if possible. */ - -#include "Python.h" - -#ifndef COMPILER - -// Note the __clang__ conditional has to come before the __GNUC__ one because -// clang pretends to be GCC. -#if defined(__clang__) -#define COMPILER "[Clang " __clang_version__ "]" -#elif defined(__GNUC__) -#define COMPILER "[GCC " __VERSION__ "]" -// Generic fallbacks. -#elif defined(__cplusplus) -#define COMPILER "[C++]" -#else -#define COMPILER "[C]" -#endif - -#endif /* !COMPILER */ - -const char * -Py_GetCompiler(void) -{ - return COMPILER; -} |