diff options
author | Thomas Wouters <thomas@python.org> | 2001-07-11 22:35:31 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2001-07-11 22:35:31 (GMT) |
commit | e38b2f1f00f46e24eaf83182799f4f515ffb410d (patch) | |
tree | 3318084926879333c95c7a3d032fa5646d4bba55 /config.h.in | |
parent | 3230d5c96111660f9b8c6f4fc0f86c545dd94df5 (diff) | |
download | cpython-e38b2f1f00f46e24eaf83182799f4f515ffb410d.zip cpython-e38b2f1f00f46e24eaf83182799f4f515ffb410d.tar.gz cpython-e38b2f1f00f46e24eaf83182799f4f515ffb410d.tar.bz2 |
Re-do the broken-nice() patch to break less platforms. Hopefully none :P
Also note that it isn't just Linux nice() that is broken: at least FreeBSD
and BSDI also have this problem. os.nice() should probably just be emulated
using getpriority()/setpriority(), if they are available, but I'll get to
that later.
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index a3b7e9e..2de2016 100644 --- a/config.h.in +++ b/config.h.in @@ -175,6 +175,9 @@ /* Define as the size of the unicode type. */ #undef Py_UNICODE_SIZE +/* Define if nice() returns success/failure instead of the new priority. */ +#undef HAVE_BROKEN_NICE + /* Define if malloc(0) returns a NULL pointer */ #undef MALLOC_ZERO_RETURNS_NULL @@ -641,6 +644,9 @@ /* Define if you have the <sys/param.h> header file. */ #undef HAVE_SYS_PARAM_H +/* Define if you have the <sys/resource.h> header file. */ +#undef HAVE_SYS_RESOURCE_H + /* Define if you have the <sys/select.h> header file. */ #undef HAVE_SYS_SELECT_H |