]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: time: refine the test on _POSIX_TIMERS
authorWilly Tarreau <w@1wt.eu>
Tue, 21 May 2019 17:46:58 +0000 (19:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 May 2019 18:03:03 +0000 (20:03 +0200)
commitf61782418cb008f377270b73ef498924e7faf141
treefa30919bfcb3ef5432f7d0448b624dcbaa61684d
parentaacc405c1f2a4173de36ba1a0bf2416d9c958376
CLEANUP: time: refine the test on _POSIX_TIMERS

The clock_gettime() man page says we must check that _POSIX_TIMERS is
defined to a value greater than zero, not just that it's simply defined
so let's fix this right now.
include/common/compat.h
include/common/time.h
src/haproxy.c