summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2002-10-11 15:44:45 +0300
committerheikki@hundin.mysql.fi <>2002-10-11 15:44:45 +0300
commit399ba21d852a3c41dfd149e94b0fef0674427449 (patch)
tree125918e86779632d7939062e20de0bf53786e506 /innobase
parentc5c1a5fef3854961af6a748dfbadb28475a22293 (diff)
downloadmariadb-git-399ba21d852a3c41dfd149e94b0fef0674427449.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
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));