1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-12-29 16:25:35 +01:00

49634, reported by Claes Nästén: revert 28989

Defining _POSIX_C_SOURCE caused issues on Solaris 10 but doesn't seem
to be needed for musl anymore
This commit is contained in:
Oliver Kiddle 2021-12-13 20:44:59 +01:00
parent e2ad321c88
commit 6de4bcfcd5
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2021-12-13 Oliver Kiddle <opk@zsh.org>
* 49634, reported by Claes Nästén: configure.ac: revert 28989,
defining _POSIX_C_SOURCE caused issues on Solaris 10 but
doesn't seem to be needed for musl anymore
2021-12-07 Oliver Kiddle <opk@zsh.org>
* 49633: Completion/Unix/Command/_git: update options for git 2.34

View file

@ -1135,8 +1135,7 @@ dnl Check for sigset_t. Currently I'm looking in
dnl <sys/types.h> and <signal.h>. Others might need
dnl to be added.
AC_CACHE_CHECK(for sigset_t, zsh_cv_type_sigset_t,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _POSIX_C_SOURCE 200809L
#include <sys/types.h>
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
#include <signal.h>]], [[sigset_t tempsigset;]])],[zsh_cv_type_sigset_t=yes],[zsh_cv_type_sigset_t=no])])
AH_TEMPLATE([sigset_t],
[Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define])