From a13e9a985148732a4dc2a4a75dc68cc1bfa92a09 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 11 Oct 2002 15:44:45 +0300 Subject: os0thread.c: Fix compilation error on HP-UX-11: pthread_t is a scalar there, not a struct like in HP-UX-10.20 innobase/os/os0thread.c: Fix compilation error on HP-UX-11: pthread_t is a scalar there, not a struct like in HP-UX-10.20 --- innobase/os/os0thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'innobase') diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c index ad6b66a1dc2..1f40508df26 100644 --- a/innobase/os/os0thread.c +++ b/innobase/os/os0thread.c @@ -52,8 +52,8 @@ os_thread_pf( /*=========*/ os_thread_id_t a) { -#ifdef UNIV_HPUX - /* In HP-UX a pthread_t is a struct of 3 fields: field1, field2, +#ifdef UNIV_HPUX10 + /* In HP-UX-10.20 a pthread_t is a struct of 3 fields: field1, field2, field3. We do not know if field1 determines the thread uniquely. */ return((ulint)(a.field1)); -- cgit v1.2.1