summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-05-24 22:45:09 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-05-24 22:45:09 (GMT)
commit17d8830312d82e7de42ab89739b0771f712645ff (patch)
tree6d87adc3ad89f6e3ac2d5eec511216fafaeab566 /pyconfig.h.in
parent483000e164ec68717d335767b223ae31b4b720cf (diff)
downloadcpython-17d8830312d82e7de42ab89739b0771f712645ff.zip
cpython-17d8830312d82e7de42ab89739b0771f712645ff.tar.gz
cpython-17d8830312d82e7de42ab89739b0771f712645ff.tar.bz2
bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)
Use uuid_enc_be() if available to encode UUID to bytes as big endian.
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 2af4117..9148319 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1215,6 +1215,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