# HG changeset patch # User Bruno Haible # Date 1293185255 -3600 # Node ID 8a51d18d6d1e4edd04534b02ed415d4970ce7fe7 # Parent f2baaca789b220c5e51c6ff239320dd30dc0f7a2 sigaction tests: Allow missing SA_RESETHAND and SA_RESTART. * tests/test-sigaction.c (SA_RESETHAND): Fall back to 0. (SA_RESTART): Likewise. Reported by Joachim Schmitz . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-12-24 Bruno Haible + + sigaction tests: Allow missing SA_RESETHAND and SA_RESTART. + * tests/test-sigaction.c (SA_RESETHAND): Fall back to 0. + (SA_RESTART): Likewise. + Reported by Joachim Schmitz . + 2010-12-24 Bruno Haible signal: Define NSIG. diff --git a/tests/test-sigaction.c b/tests/test-sigaction.c --- a/tests/test-sigaction.c +++ b/tests/test-sigaction.c @@ -34,6 +34,12 @@ #ifndef SA_ONSTACK # define SA_ONSTACK 0 #endif +#ifndef SA_RESETHAND +# define SA_RESETHAND 0 +#endif +#ifndef SA_RESTART +# define SA_RESTART 0 +#endif #ifndef SA_SIGINFO # define SA_SIGINFO 0 #endif