summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
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. */