From 1ac074e66e8ee0e548742fcc79a705284448aea6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 6 Feb 2015 12:30:58 -0800 Subject: Conditionalize use of SIGRTMIN in nptl/tst-locale1.c. --- nptl/tst-locale1.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/tst-locale1.c b/nptl/tst-locale1.c index 2ee4c3f..887b9a6 100644 --- a/nptl/tst-locale1.c +++ b/nptl/tst-locale1.c @@ -12,7 +12,11 @@ useless (void) { pthread_t th; pthread_create (&th, 0, (void *(*) (void *)) useless, 0); + int result = 0; +#ifdef SIGRTMIN /* This is to check __libc_current_sigrt* can be used in statically linked apps. */ - return SIGRTMIN; + result = SIGRTMIN; +#endif + return result; } -- cgit v1.1