summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-10-11 15:44:45 +0300
committerunknown <heikki@hundin.mysql.fi>2002-10-11 15:44:45 +0300
commita13e9a985148732a4dc2a4a75dc68cc1bfa92a09 (patch)
tree125918e86779632d7939062e20de0bf53786e506 /innobase
parentc8cbed35f8354930208e18402540411650ddb439 (diff)
downloadmariadb-git-a13e9a985148732a4dc2a4a75dc68cc1bfa92a09.tar.gz
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
Diffstat (limited to 'innobase')
-rw-r--r--innobase/os/os0thread.c4
1 files changed, 2 insertions, 2 deletions
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));