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.)
This commit is contained in:
parent
8d82ccefd2
commit
cb8f735786
9 changed files with 28 additions and 130 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
ulong x;
|
||||
|
||||
x = (ulong)pthread_self();
|
||||
printf("%lx\n", x);
|
||||
if(x < 1024*1024)
|
||||
exit(1); /* NOT NPTL */
|
||||
exit(0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue