From f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 21 May 2021 14:07:01 +0900 Subject: 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(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 53a343b..e15a321 100644 --- a/configure.ac +++ b/configure.ac @@ -137,7 +137,7 @@ case "${host}" in *-apple-darwin*) # This is the equivalent of the _GNU_SOURCE feature-test-macro # on GNU libc systems. - AC_DEFINE(_DARWIN_C_SOURCE, 900000L, + AC_DEFINE(_DARWIN_C_SOURCE, 1, Expose all libc features (__DARWIN_C_FULL).) ;; *) -- cgit v1.2.1