[EMAIL PROTECTED] (Steven M. Schweda) writes: >> # if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0 > > That's fine, if you prefer: > > ptimer.c:95:46: operator '&&' has no right operand
I suppose we should then use: #ifdef _POSIX_TIMERS # if _POSIX_TIMERS > 0 ... use POSIX timers ... > This doc makes it appear that the unistd.h here does not conform: > http://www.opengroup.org/onlinepubs/009695399/basedefs/unistd.h.html Not all platforms supported by Wget conform to POSIX. Since the platforms I use regularly do conform, your testing this is all the more valuable. (But in this case it might even conform -- the spec says "IF the symbol is defined", apparently leaving open the possibility of it being undefined.) > I fear that the test must be beaten into something much uglier, and > I have not yet thought of anything good to do the job. Would the above work for you without errors or warnings?
