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>
This commit is contained in:
parent
792a7e7f04
commit
367b9e7488
@ -198,7 +198,7 @@ case "${host}" in
|
|||||||
have_ld_version_script=yes
|
have_ld_version_script=yes
|
||||||
;;
|
;;
|
||||||
*-apple-darwin*)
|
*-apple-darwin*)
|
||||||
AC_DEFINE(_DARWIN_C_SOURCE, 900000L,
|
AC_DEFINE(_DARWIN_C_SOURCE, 1,
|
||||||
Expose all libc features (__DARWIN_C_FULL).)
|
Expose all libc features (__DARWIN_C_FULL).)
|
||||||
AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X)
|
AC_DEFINE(_XOPEN_SOURCE, 500, Activate POSIX interface on MacOS X)
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user