mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
Valentin Ochs: 28989: define _POSIX_C_SOURCE
when testing for sigset_t in configure (needed for musl).
This commit is contained in:
parent
35ddd9c4ba
commit
c358c64c1d
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-04-12 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* Valentin Ochs: 28989: configure.ac: define _POSIX_C_SOURCE
|
||||
when testing for sigset_t (needed for musl).
|
||||
|
||||
2011-04-11 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* users/15953: Src/builtin.c: handle EINTR when using read -k or
|
||||
|
@ -14433,5 +14438,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5242 $
|
||||
* $Revision: 1.5243 $
|
||||
*****************************************************
|
||||
|
|
|
@ -992,7 +992,8 @@ 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_TRY_COMPILE(
|
||||
[#include <sys/types.h>
|
||||
[#define _POSIX_C_SOURCE 200809L
|
||||
#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],
|
||||
|
|
Loading…
Reference in a new issue