From 65d1407d55e4f7df703f72ac52c9cef37a59be92 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 May 2023 14:22:31 +0200 Subject: hurd 64bit: Fix pthread_t/thread_t type to long So that they can be trivially cast to pointer type, like with nptl. --- sysdeps/htl/bits/pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/htl/bits/pthread.h') diff --git a/sysdeps/htl/bits/pthread.h b/sysdeps/htl/bits/pthread.h index b966fc8824..57589a191c 100644 --- a/sysdeps/htl/bits/pthread.h +++ b/sysdeps/htl/bits/pthread.h @@ -19,7 +19,7 @@ #ifndef _BITS_PTHREAD_H #define _BITS_PTHREAD_H 1 -typedef int __pthread_t; +#include /* Return true if __T1 and __T2 both name the same thread. Otherwise, false. */ -- cgit 1.4.1