+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
#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