summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-05-27 12:03:16 +0300
committermonty@mysql.com <>2004-05-27 12:03:16 +0300
commit3ad2158b42a327e325c46c8fbaeabfca6b37f52f (patch)
treedee59cd39b752666039c5c3961bc42bbc5bf39f8 /innobase
parent5f0d4ee533b2714c629658e3b9f66de91e2914ca (diff)
downloadmariadb-git-3ad2158b42a327e325c46c8fbaeabfca6b37f52f.tar.gz
Portability fixes
Diffstat (limited to 'innobase')
-rw-r--r--innobase/os/os0thread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c
index 8deb8f38b5d..12a8abf3069 100644
--- a/innobase/os/os0thread.c
+++ b/innobase/os/os0thread.c
@@ -201,6 +201,7 @@ os_thread_exit(
#endif
}
+#ifdef HAVE_PTHREAD_JOIN
int
os_thread_join(
/*=============*/
@@ -208,6 +209,7 @@ os_thread_join(
{
return pthread_join(thread_id, NULL);
}
+#endif
/*********************************************************************
Returns handle to the current thread. */