build: Use macOS' compatibility macros to enable all features.
authorJustus Winter <justus@g10code.com>
Wed, 8 Mar 2017 12:09:11 +0000 (13:09 +0100)
committerJustus Winter <justus@g10code.com>
Wed, 8 Mar 2017 12:09:11 +0000 (13:09 +0100)
commit654024081cfa103c87bb163b117ea3568171d408
treefcede00a362433b2484dfd9fab04f2527c8a9ad3
parent5bd530b8a4624f101b8d42e68f1b28bcc13f4f76
build: Use macOS' compatibility macros to enable all features.

* configure.ac: On macOS, use the compatibility macros to expose every
feature of the libc.  This is the equivalent of _GNU_SOURCE on GNU
libc.
--
Not defining this leads to compilation errors or superfluous warnings
on macOS.

GnuPG-bug-id: 2910
Signed-off-by: Justus Winter <justus@g10code.com>
configure.ac