MINOR: compat: automatically detect support for crypt_r()
authorWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2018 18:14:14 +0000 (19:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Oct 2018 18:14:14 +0000 (19:14 +0100)
commit4698adf68f4ad04621e0e1447048d59eaa4aa2a8
tree777f025cec03a6de2c23fa0c7761e77fcb6c826b
parent34d4b525a129baa6f52a930ae629ddb1ba4255c2
MINOR: compat: automatically detect support for crypt_r()

glibc >= 2.2 and FreeBSD >= 12.0 support crypt_r(), let's detect this
and set a macro HA_HAVE_CRYPT_R for this.
include/common/compat.h