configure: improve pthread_sigmask detection.
authorShai Levy <58184723+shailevi23@users.noreply.github.com>
Mon, 16 Oct 2023 11:26:20 +0000 (14:26 +0300)
committerShai Levy <shailevy@google.com>
Thu, 19 Oct 2023 11:53:16 +0000 (11:53 +0000)
commit1fa44a7ed981b36af3049dc99b5e8c2754bb51a0
tree887b3c9b32e475aea98e463ae984084846f344ec
parent50b94305b08a746c21a2c644ffb3cb56915d86ee
configure: improve pthread_sigmask detection.

On Windows system, pthread_sigmask is defined as a noop which will
trigger unused variable warning for sigmask.
By triggering the same warning in the configure script, we make
CONFIG_PTHREAD_SIGMASK undefined in the Windows msys2 build.

Signed-off-by: Shai Levy <shailevy23@gmail.com>.
configure