aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/src/Python/getcompiler.c
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/python3/src/Python/getcompiler.c
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/python3/src/Python/getcompiler.c')
-rw-r--r--contrib/tools/python3/src/Python/getcompiler.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/tools/python3/src/Python/getcompiler.c b/contrib/tools/python3/src/Python/getcompiler.c
index 29f81bfe2f..59c0dbf92a 100644
--- a/contrib/tools/python3/src/Python/getcompiler.c
+++ b/contrib/tools/python3/src/Python/getcompiler.c
@@ -1,27 +1,27 @@
-
-/* 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 "\n[Clang " __clang_version__ "]"
-#elif defined(__GNUC__)
-#define COMPILER "\n[GCC " __VERSION__ "]"
-// Generic fallbacks.
-#elif defined(__cplusplus)
-#define COMPILER "[C++]"
-#else
-#define COMPILER "[C]"
-#endif
-
-#endif /* !COMPILER */
-
-const char *
-Py_GetCompiler(void)
-{
- return COMPILER;
-}
+
+/* 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 "\n[Clang " __clang_version__ "]"
+#elif defined(__GNUC__)
+#define COMPILER "\n[GCC " __VERSION__ "]"
+// Generic fallbacks.
+#elif defined(__cplusplus)
+#define COMPILER "[C++]"
+#else
+#define COMPILER "[C]"
+#endif
+
+#endif /* !COMPILER */
+
+const char *
+Py_GetCompiler(void)
+{
+ return COMPILER;
+}