aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-08-19 01:18:20 +0300
committershadchin <shadchin@yandex-team.com>2024-08-19 01:30:01 +0300
commit4cc6bfa63daf2d82205a9fc20112a11e39fccf91 (patch)
tree9a9c7cca8d59c05614c1acc80d723fd511d13786 /contrib
parentc0386bbcd5ff13899d0a973e437f2a6c9d7fe99b (diff)
downloadydb-4cc6bfa63daf2d82205a9fc20112a11e39fccf91.tar.gz
Sync and cleanup pyconfig.h
535e12a669585636772c3f8d402cdf65701eafba
Diffstat (limited to 'contrib')
-rw-r--r--contrib/tools/python3/Include/pyconfig.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/contrib/tools/python3/Include/pyconfig.h b/contrib/tools/python3/Include/pyconfig.h
index 7baffa4f55..b698ae7bc5 100644
--- a/contrib/tools/python3/Include/pyconfig.h
+++ b/contrib/tools/python3/Include/pyconfig.h
@@ -1,25 +1,29 @@
#pragma once
#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)
+
#define ABIFLAGS ""
+
+// Need for Modules/getpath.c
#define PREFIX "/var/empty"
#define EXEC_PREFIX "/var/empty"
-#define VERSION "3.10"
+#define VERSION "3.12"
#define VPATH ""
-#define BLAKE2_USE_SSE
+#define PLATLIBDIR "lib"
+
#define USE_ZLIB_CRC32
+
#if defined(__linux__)
-#define PLATFORM "linux"
-#define MULTIARCH "x86_64-linux-gnu"
-#define SOABI "cpython-310-x86_64-linux-gnu"
+# define PLATFORM "linux"
+# define MULTIARCH "x86_64-linux-gnu"
+# define SOABI "cpython-312-x86_64-linux-gnu"
#elif defined(__APPLE__)
-#define PLATFORM "darwin"
-#define MULTIARCH "darwin"
-#define SOABI "cpython-310-darwin"
-#endif
+# define PLATFORM "darwin"
+# define MULTIARCH "darwin"
+# define SOABI "cpython-312-darwin"
#endif
-#define PLATLIBDIR "lib"
+#endif
#if defined(__linux__)
#include "pyconfig-linux.h"