plan9port/lib/linux-isnptl.c
2005-01-17 21:32:55 +00:00

15 lines
194 B
C

#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);
}