From 5df707c7c9fe5ac760c7136ee806be718d2afa04 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 May 2004 12:03:16 +0300 Subject: Portability fixes innobase/os/os0thread.c: Portability fix myisam/sort.c: Fixed wrong variable type (gave compiler warning) --- innobase/os/os0thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'innobase/os') 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. */ -- cgit v1.2.1