about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-12-13 20:44:59 +0100
committerOliver Kiddle <opk@zsh.org>2021-12-13 20:44:59 +0100
commit6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90 (patch)
treedb9dd3cd354db26d0a2ac4c1ebd4fb2af0f0c1b5 /configure.ac
parente2ad321c884534d654dc69aa04f70c65a157cf03 (diff)
downloadzsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.tar.gz
zsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.tar.xz
zsh-6de4bcfcd5b47bec5a8acbdd5a4514ea06c8ea90.zip
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1af5a2854..8bba78c56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])