diff options
author | Charles-François Natali <neologix@free.fr> | 2011-09-06 17:03:35 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-09-06 17:03:35 (GMT) |
commit | ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8 (patch) | |
tree | 3e3c3175335b22c3e1189dc97be47ac396f9402c /pyconfig.h.in | |
parent | e0afb16a317b71df0c538369a9fe223685d57b95 (diff) | |
download | cpython-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.in | 3 |
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 |