From b04c42e9eb74c0206a0e21abbf8eb061f8eecea6 Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 17 Jan 2005 21:32:55 +0000 Subject: nptl dependencies --- lib/linux-isnptl.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/linux-isnptl.c (limited to 'lib') diff --git a/lib/linux-isnptl.c b/lib/linux-isnptl.c new file mode 100644 index 00000000..d28fe878 --- /dev/null +++ b/lib/linux-isnptl.c @@ -0,0 +1,15 @@ +#include +#include +#include +#include + +int +main(void) +{ + ulong x; + + x = (ulong)pthread_self(); + if(x < 1024*1024) + exit(1); /* NOT NPTL */ + exit(0); +} -- cgit v1.2.3