gh-85283: Build _uuid extension with limited C API (#111010)

This commit is contained in:
Victor Stinner 2023-10-18 01:07:12 +02:00 committed by GitHub
parent c58c63fdf6
commit 73a003f646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View file

@ -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