Andrew Nguyen anguyen@codeweavers.com writes:
My motivation was to determine the reason that the reporter of bug 26088 (http://bugs.winehq.org/show_bug.cgi?id=26088) felt the need to compile Wine configured with --without-pthread, which doesn't seem to be something anyone should be doing. CentOS 3 seemed to be a natural candidate for testing, although later developments revealed that the reporter's system of concern was actually Debian Sarge.
Given that there are apparently a non-zero number of users wanting to compile and run at least stable Wine on antique platforms, a few patches to accommodate such users doesn't seem to be too much trouble. The sched_setaffinity compile error was the only real blocker for compilation on CentOS 3, and after fixing it, I was able to at least successfully launch winecfg.
It's not worth making the code more complicated for this. You should disable it entirely if configure detects a broken prototype.