1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Check for defined(_POSIX_TIMERS) before checking the value.

This commit is contained in:
hniksic 2005-04-15 04:09:45 -07:00
parent c547fdd6b3
commit c65d4ff828
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-15 Hrvoje Niksic <hniksic@xemacs.org>
* ptimer.c: Check that _POSIX_TIMERS is defined as well as > 0.
Problem reported by Steven M. Schweda.
2005-04-14 Hrvoje Niksic <hniksic@xemacs.org>
* http.c (skip_short_body): Print the skipped body data in debug

View File

@ -92,7 +92,7 @@ extern int errno;
#if defined(WINDOWS) || defined(__CYGWIN__)
# define PTIMER_WINDOWS /* use Windows timers */
#else
# if _POSIX_TIMERS > 0
# if defined(_POSIX_TIMERS) && _POSIX_TIMERS > 0
# define PTIMER_POSIX /* use POSIX timers (clock_gettime) */
# else
# ifdef HAVE_GETTIMEOFDAY