From: Xavier Bonaventura Date: Wed, 5 Nov 2025 11:28:59 +0000 (+0100) Subject: libstdc++: testsuite: Add csignal missing test for SIG_IGN X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7a89048eafe81702c6ab5b8236cea028212fda;p=thirdparty%2Fgcc.git libstdc++: testsuite: Add csignal missing test for SIG_IGN SIG_IGN also needs to be defined according to the C++ standard. This was missing in the test. * testsuite/18_support/headers/csignal/macros.cc: Check for SIG_IGN. Signed-off-by: Xavier Bonaventura --- diff --git a/libstdc++-v3/testsuite/18_support/headers/csignal/macros.cc b/libstdc++-v3/testsuite/18_support/headers/csignal/macros.cc index 6d6c8217b361..1076cbca24d5 100644 --- a/libstdc++-v3/testsuite/18_support/headers/csignal/macros.cc +++ b/libstdc++-v3/testsuite/18_support/headers/csignal/macros.cc @@ -37,6 +37,10 @@ namespace gnu #error "SIG_DFL_must_be_a_macro" #endif +#ifndef SIG_IGN + #error "SIG_IGN_must_be_a_macro" +#endif + #ifndef SIGFPE #error "SIGFPE_must_be_a_macro" #endif