mirror of git://sourceware.org/git/glibc.git
Conditionalize use of SIGRTMIN in nptl/tst-locale1.c.
This commit is contained in:
parent
f50ad78b91
commit
1ac074e66e
|
@ -1,5 +1,7 @@
|
||||||
2015-02-06 Roland McGrath <roland@hack.frob.com>
|
2015-02-06 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
|
||||||
|
|
||||||
* rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
|
* rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
|
||||||
will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
|
will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,11 @@ useless (void)
|
||||||
{
|
{
|
||||||
pthread_t th;
|
pthread_t th;
|
||||||
pthread_create (&th, 0, (void *(*) (void *)) useless, 0);
|
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
|
/* This is to check __libc_current_sigrt* can be used in statically
|
||||||
linked apps. */
|
linked apps. */
|
||||||
return SIGRTMIN;
|
result = SIGRTMIN;
|
||||||
|
#endif
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue