From cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 19 Jan 2020 21:10:11 -0500 Subject: all: remove Linux 2.4 vs 2.6 detection Linux 2.4 is dead. (The libthread code hasn't worked for Linux 2.4 for a long time.) --- lib/linux-isnptl.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lib/linux-isnptl.c (limited to 'lib') diff --git a/lib/linux-isnptl.c b/lib/linux-isnptl.c deleted file mode 100644 index e4c23c63..00000000 --- a/lib/linux-isnptl.c +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include -#include -#include - -int -main(void) -{ - ulong x; - - x = (ulong)pthread_self(); - printf("%lx\n", x); - if(x < 1024*1024) - exit(1); /* NOT NPTL */ - exit(0); -} -- cgit v1.2.3