From 367b9e7488601cdf2cbec4d593a235c89f9a4281 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 27 May 2021 13:36:29 +0900 Subject: [PATCH] build: _DARWIN_C_SOURCE should be 1. * configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1. -- GnuPG-bug-id: 5440 Reported-by: Jay Freeman Signed-off-by: NIIBE Yutaka --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0f732c80..902cce1e 100644 --- a/configure.ac +++ b/configure.ac @@ -198,7 +198,7 @@ case "${host}" in have_ld_version_script=yes ;; *-apple-darwin*) - AC_DEFINE(_DARWIN_C_SOURCE, 900000L, + AC_DEFINE(_DARWIN_C_SOURCE, 1, Expose all libc features (__DARWIN_C_FULL).) AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X) ;;