sigset_t mask; sigset_t oldmask; int saved_errno = errno; if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler) { /* Unexpected situation; be careful to avoid recursive abort. */ if (sig == SIGABRT) signal (SIGABRT, SIG_DFL); abort (); } /* Reinstall the signal...
bash-x86_64-w64-mingw32> autoheader: warning: missing template: clock_t bash-x86_64-w64-mingw32> autoheader: warning: missing template: sig_atomic_t bash-x86_64-w64-mingw32> autoheader: warning: missing template: sigset_t bash-x86_64-w64-mingw32> autoheader: warning: missing template: ...
问在MinGW/MSYS2上编译XZ Utils时的未知类型EN似乎只有在定义了_POSIX的情况下才会定义它。它也在sys/types.h与signal.h中...由于
yes checking for sigset_t... yes checking whether snprintf returns a byte count as in C99... yes checking whether snprintf is declared... yes checking whether strdup is declared... yes checking whether strerror(0) succeeds... yes checking whether strndup is declared... yes checking whether...