summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-05-24 16:22:59 -0700
committerGitHub <noreply@github.com>2018-05-24 16:22:59 -0700
commit5734f41a9b46b4fd65b6ba90240b108f8a0b7c57 (patch)
tree6f3f2aec5631ee53c66d469ac3b3a5ed81c13b45 /pyconfig.h.in
parentd9eb22c67c38b45764dd924801c72092770d200f (diff)
downloadcpython-git-5734f41a9b46b4fd65b6ba90240b108f8a0b7c57.tar.gz
bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)
Use uuid_enc_be() if available to encode UUID to bytes as big endian. (cherry picked from commit 17d8830312d82e7de42ab89739b0771f712645ff) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index a0efff9777..e561a7c07c 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1212,6 +1212,9 @@
/* Define if uuid_create() exists. */
#undef HAVE_UUID_CREATE
+/* Define if uuid_enc_be() exists. */
+#undef HAVE_UUID_ENC_BE
+
/* Define if uuid_generate_time_safe() exists. */
#undef HAVE_UUID_GENERATE_TIME_SAFE