]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
pthread_sigmask: Don't force an override on NetBSD.
authorBruno Haible <bruno@clisp.org>
Sat, 4 Apr 2026 13:16:31 +0000 (15:16 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 4 Apr 2026 13:16:31 +0000 (15:16 +0200)
* m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Limit the macro test
to native Windows.

ChangeLog
m4/pthread_sigmask.m4

index cff444eb9791f687b283e5f554dd7691f65d8303..552cb084d1b1fcf2f033165eaf01c35d06f9a54d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2026-04-04  Bruno Haible  <bruno@clisp.org>
 
+       pthread_sigmask: Don't force an override on NetBSD.
+       * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Limit the macro test
+       to native Windows.
+
        pthread_sigmask tests: Enable all tests on NetBSD.
        * modules/pthread_sigmask-tests (Depends-on): Remove test-xfail.
        (Makefile.am): Don't test OS_IS_NETBSD.
index 2984dcdcb45afb1630a4c9c48e726a16cf371533..c813d109ef502810d2c2b163552ec1eb7a37b6d2 100644 (file)
@@ -1,5 +1,5 @@
 # pthread_sigmask.m4
-# serial 24
+# serial 25
 dnl Copyright (C) 2011-2026 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -19,7 +19,7 @@ AC_DEFUN([gl_FUNC_PTHREAD_SIGMASK],
     [AC_EGREP_CPP([headers_define_pthread_sigmask], [
 #include <pthread.h>
 #include <signal.h>
-#ifdef pthread_sigmask
+#if defined _WIN32 && defined pthread_sigmask
  headers_define_pthread_sigmask
 #endif],
        [gl_cv_func_pthread_sigmask_macro=yes],