]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: time: remove the test on _POSIX_C_SOURCE
authorWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 17:12:54 +0000 (19:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 May 2019 17:14:59 +0000 (19:14 +0200)
commit823bda0eb7438ba46301bb93870deca9896af381
treec8e6d8dc5ba1c760195896de12cd7b1d74d23239
parent46166c2965b56909a6625b1aaf6464143a25c3f0
BUILD: time: remove the test on _POSIX_C_SOURCE

It seems it's not defined on FreeBSD while it's mentioned on Linux that
clock_gettime() can be detected using this. Given that we also have the
test for _POSIX_TIMERS>0 that should cover it well enough. If it breaks
on other systems, we'll see.

Report was here :
    https://github.com/haproxy/haproxy/runs/133866993
include/common/compat.h
src/wdt.c