File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555 *
5656 * (Don't use Py_TARGET_ABI3T directly. It's currently only used to set these
5757 * 2 macros, and defined for users' convenience.)
58+ *
59+ * This logic is currently partially duplicated in PC/pyconfig.h.
5860 */
5961#if defined(Py_LIMITED_API ) && defined(Py_GIL_DISABLED ) \
6062 && !defined(Py_TARGET_ABI3T )
Original file line number Diff line number Diff line change @@ -331,14 +331,16 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
331331# if defined(Py_GIL_DISABLED )
332332# if defined(Py_DEBUG )
333333# pragma comment(lib,"python315t_d.lib")
334- # elif defined(Py_LIMITED_API )
334+ # elif defined(Py_LIMITED_API ) || defined( Py_TARGET_ABI3T )
335335# pragma comment(lib,"python3t.lib")
336336# else
337337# pragma comment(lib,"python315t.lib")
338338# endif /* Py_DEBUG */
339339# else /* Py_GIL_DISABLED */
340340# if defined(Py_DEBUG )
341341# pragma comment(lib,"python315_d.lib")
342+ # elif defined(Py_TARGET_ABI3T )
343+ # pragma comment(lib,"python3t.lib")
342344# elif defined(Py_LIMITED_API )
343345# pragma comment(lib,"python3.lib")
344346# else
You can’t perform that action at this time.
0 commit comments