summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-09-06 17:03:35 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-09-06 17:03:35 (GMT)
commitea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8 (patch)
tree3e3c3175335b22c3e1189dc97be47ac396f9402c /pyconfig.h.in
parente0afb16a317b71df0c538369a9fe223685d57b95 (diff)
downloadcpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.zip
cpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.tar.gz
cpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.tar.bz2
Issue #12871: sched_get_priority_(min|max) might not be defined even though
<sched.h> is available (most notably on OpenBSD when built without pthread): add an explicit configure check.
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 bf9e7fe..edc2e69 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -653,6 +653,9 @@
/* Define to 1 if you have the `round' function. */
#undef HAVE_ROUND
+/* Define to 1 if you have the `sched_get_priority_max' function. */
+#undef HAVE_SCHED_GET_PRIORITY_MAX
+
/* Define to 1 if you have the <sched.h> header file. */
#undef HAVE_SCHED_H