nptl dependencies

This commit is contained in:
rsc 2005-01-17 21:32:55 +00:00
parent 4753f0691a
commit b04c42e9eb
4 changed files with 28 additions and 1 deletions

15
lib/linux-isnptl.c Normal file
View 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);
}