nptl dependencies
This commit is contained in:
parent
4753f0691a
commit
b04c42e9eb
4 changed files with 28 additions and 1 deletions
15
lib/linux-isnptl.c
Normal file
15
lib/linux-isnptl.c
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
ulong x;
|
||||
|
||||
x = (ulong)pthread_self();
|
||||
if(x < 1024*1024)
|
||||
exit(1); /* NOT NPTL */
|
||||
exit(0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue