diff options
author | Russ Cox <rsc@swtch.com> | 2020-01-19 21:10:11 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-19 23:04:58 -0500 |
commit | cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c (patch) | |
tree | e21e8faaa68f8df48632973444a664f582de719a /include | |
parent | 8d82ccefd2b4b058e20ae0a7e3d9ef9b6b8cf8c3 (diff) | |
download | plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.gz plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.tar.bz2 plan9port-cb8f7357867a2a5d0bd742ceeb77bce9ad5f435c.zip |
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.)
Diffstat (limited to 'include')
-rw-r--r-- | include/u.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/u.h b/include/u.h index 8a715b1e..3bea890e 100644 --- a/include/u.h +++ b/include/u.h @@ -66,10 +66,8 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)]; #if defined(__linux__) # include <sys/types.h> -# if defined(__Linux26__) -# include <pthread.h> -# define PLAN9PORT_USING_PTHREADS 1 -# endif +# include <pthread.h> +# define PLAN9PORT_USING_PTHREADS 1 # if defined(__USE_MISC) # undef _NEEDUSHORT # undef _NEEDUINT |