diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-05-21 14:07:01 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-05-21 14:09:44 +0900 |
commit | f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c (patch) | |
tree | 9ec4714b6a4cde3318075bde550942048983065b | |
parent | 448bf7b01cade87f45fb39f455f37a6aadeeceda (diff) | |
download | libgpg-error-f9b50dafc5d3cc9d463be17b1d9e66817d4cb41c.tar.gz |
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 <gniibe@fsij.org>
-rw-r--r-- | configure.ac | 2 |
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).) ;; *) |