aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2021-05-21 05:07:01 +0000
committerNIIBE Yutaka <[email protected]>2021-05-21 05:09:44 +0000
commitf9b50dafc5d3cc9d463be17b1d9e66817d4cb41c (patch)
tree9ec4714b6a4cde3318075bde550942048983065b /configure.ac
parentcore: Make gpgrt_free robust against legacy free implementations. (diff)
downloadlibgpg-error-f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c.tar.gz
libgpg-error-f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c.zip
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 <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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).)
;;
*)