summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMichael Felt <aixtools@users.noreply.github.com>2017-12-30 21:39:20 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2017-12-30 21:39:20 (GMT)
commit0d3ccb4395cccb11a50289c84c9a0dbbac03c647 (patch)
tree605efdb3abe3c0e95259f660b28facbfccc00d55 /pyconfig.h.in
parent0c36bed1c46d07ef91d3e02e69e974e4f3ecd31a (diff)
downloadcpython-0d3ccb4395cccb11a50289c84c9a0dbbac03c647.zip
cpython-0d3ccb4395cccb11a50289c84c9a0dbbac03c647.tar.gz
cpython-0d3ccb4395cccb11a50289c84c9a0dbbac03c647.tar.bz2
bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) (#4974)
Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) This patch provides the changes needed for this integration with the OS. On AIX the base function is uuid_create() rather than uuid_generate_time() The AIX uuid_t typedef is more aligned to the UUID field based definition while the Linux typedef that is more aligned with UUID bytes (or perhaps UUID bytes_le) definitions.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index d828d48..4cf2f03 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -1191,9 +1191,18 @@
/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H
+/* Define if uuid_create() exists. AIX support for uuid:RFC4122 */
+#undef HAVE_UUID_CREATE
+
/* Define if uuid_generate_time_safe() exists. */
#undef HAVE_UUID_GENERATE_TIME_SAFE
+/* Define to 1 if you have the <uuid.h> header file. */
+#undef HAVE_UUID_H
+
+/* Define to 1 if you have the <uuid/uuid.h> header file. */
+#undef HAVE_UUID_UUID_H
+
/* Define to 1 if you have the `wait3' function. */
#undef HAVE_WAIT3