Valentin Ochs: 28990: more changes needed for signals.

This commit is contained in:
Peter Stephenson 2011-04-12 14:51:31 +00:00
parent c358c64c1d
commit d2fd8b86cf
3 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2011-04-12 Peter Stephenson <pws@csr.com>
* Valention Ochs: 28990: configure.ac, Src/system.h: more
changes needed for signals.
* Valentin Ochs: 28989: configure.ac: define _POSIX_C_SOURCE
when testing for sigset_t (needed for musl).
@ -14438,5 +14441,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5243 $
* $Revision: 1.5244 $
*****************************************************

View file

@ -37,13 +37,12 @@
#endif
#endif
#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__)
/*
* Turn on numerous extensions.
* This is in order to get the functions for manipulating /dev/ptmx.
*/
#define _GNU_SOURCE 1
#endif
#define _POSIX_C_SOURCE 200809L
/* NeXT has half-implemented POSIX support *
* which currently fools configure */

View file

@ -1015,6 +1015,7 @@ AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec,
dnl Check for struct timezone since some old SCO versions do not define it
zsh_TYPE_EXISTS([
#define _GNU_SOURCE 1
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif