Skip to content

Commit 4cc6bfa

Browse files
committed
Sync and cleanup pyconfig.h
535e12a669585636772c3f8d402cdf65701eafba
1 parent c0386bb commit 4cc6bfa

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

contrib/tools/python3/Include/pyconfig.h

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
#pragma once
22

33
#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)
4+
45
#define ABIFLAGS ""
6+
7+
// Need for Modules/getpath.c
58
#define PREFIX "/var/empty"
69
#define EXEC_PREFIX "/var/empty"
7-
#define VERSION "3.10"
10+
#define VERSION "3.12"
811
#define VPATH ""
9-
#define BLAKE2_USE_SSE
12+
#define PLATLIBDIR "lib"
13+
1014
#define USE_ZLIB_CRC32
15+
1116
#if defined(__linux__)
12-
#define PLATFORM "linux"
13-
#define MULTIARCH "x86_64-linux-gnu"
14-
#define SOABI "cpython-310-x86_64-linux-gnu"
17+
# define PLATFORM "linux"
18+
# define MULTIARCH "x86_64-linux-gnu"
19+
# define SOABI "cpython-312-x86_64-linux-gnu"
1520
#elif defined(__APPLE__)
16-
#define PLATFORM "darwin"
17-
#define MULTIARCH "darwin"
18-
#define SOABI "cpython-310-darwin"
19-
#endif
21+
# define PLATFORM "darwin"
22+
# define MULTIARCH "darwin"
23+
# define SOABI "cpython-312-darwin"
2024
#endif
2125

22-
#define PLATLIBDIR "lib"
26+
#endif
2327

2428
#if defined(__linux__)
2529
#include "pyconfig-linux.h"

0 commit comments

Comments
 (0)