mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 22:10:13 +00:00
* elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.
* elf/tst-tlsmod14a.c: Likewise. * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h> before <linux/sysctl.h>.
This commit is contained in:
parent
cbb91e21b4
commit
23195635ae
@ -1,3 +1,11 @@
|
||||
2003-07-28 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.
|
||||
* elf/tst-tlsmod14a.c: Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h>
|
||||
before <linux/sysctl.h>.
|
||||
|
||||
2003-07-27 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/syscalls.list: time syscall never fails.
|
||||
|
@ -4,6 +4,9 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <tls.h>
|
||||
|
||||
#if USE_TLS && HAVE___THREAD
|
||||
|
||||
#define AL 4096
|
||||
struct foo
|
||||
@ -53,4 +56,11 @@ do_test (void)
|
||||
}
|
||||
|
||||
#define TEST_FUNCTION do_test ()
|
||||
|
||||
#else
|
||||
|
||||
#define TEST_FUNCTION 0
|
||||
|
||||
#endif
|
||||
|
||||
#include "../test-skeleton.c"
|
||||
|
@ -1,6 +1,9 @@
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include <tls.h>
|
||||
|
||||
#if USE_TLS && HAVE___THREAD
|
||||
|
||||
#define AL 4096
|
||||
struct foo
|
||||
@ -34,3 +37,5 @@ FCT (void)
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user