mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741)
This commit is contained in:
parent
d5cd2effa6
commit
8af6481f6b
6 changed files with 414 additions and 97 deletions
|
@ -6,10 +6,12 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
#ifdef HAVE_UUID_UUID_H
|
||||
#include <uuid/uuid.h>
|
||||
#elif defined(HAVE_UUID_H)
|
||||
#include <uuid.h>
|
||||
#if defined(HAVE_UUID_H)
|
||||
// AIX, FreeBSD, libuuid with pkgconf
|
||||
#include <uuid.h>
|
||||
#elif defined(HAVE_UUID_UUID_H)
|
||||
// libuuid without pkgconf
|
||||
#include <uuid/uuid.h>
|
||||
#endif
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue