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 /acconfig.h | |
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 'acconfig.h')
-rw-r--r-- | acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -116,6 +116,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 |