mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
gh-85283: Build _uuid extension with limited C API (#111010)
This commit is contained in:
parent
c58c63fdf6
commit
73a003f646
3 changed files with 7 additions and 4 deletions
|
@ -3,6 +3,9 @@
|
|||
* DCE compatible Universally Unique Identifier library.
|
||||
*/
|
||||
|
||||
// Need limited C API version 3.13 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
|
||||
#define Py_LIMITED_API 0x030d0000
|
||||
|
||||
#include "Python.h"
|
||||
#if defined(HAVE_UUID_H)
|
||||
// AIX, FreeBSD, libuuid with pkgconf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue