+2005-04-29 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * ptimer.c (posix_init): Since we allow _POSIX_MONOTONIC_CLOCK==0,
+ it is not enough to check for _POSIX_MONOTONIC_CLOCK-0, we must
+ also check for defined(_POSIX_MONOTONIC_CLOCK).
+
2005-04-28 Hrvoje Niksic <hniksic@xemacs.org>
* ftp.c, hash.c, connect.c, host.c, http.c: Remove unreached code,
int id;
int sysconf_name;
} clocks[] = {
-#if _POSIX_MONOTONIC_CLOCK - 0 >= 0
+#if defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK - 0 >= 0
{ CLOCK_MONOTONIC, _SC_MONOTONIC_CLOCK },
#endif
#ifdef CLOCK_HIGHRES