ruby-changes:23230
From: nobu <ko1@a...>
Date: Tue, 10 Apr 2012 16:53:34 +0900 (JST)
Subject: [ruby-changes:23230] nobu:r35280 (trunk): * thread_pthread.c: add prototype declarations for older Mac OS X.
nobu 2012-04-10 16:53:24 +0900 (Tue, 10 Apr 2012) New Revision: 35280 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35280 Log: * thread_pthread.c: add prototype declarations for older Mac OS X. [ruby-core:43376][Bug #6170] Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35279) +++ ChangeLog (revision 35280) @@ -1,3 +1,8 @@ +Tue Apr 10 16:53:21 2012 Nobuyoshi Nakada <nobu@r...> + + * thread_pthread.c: add prototype declarations for older Mac OS X. + [ruby-core:43376][Bug #6170] + Tue Apr 10 15:35:21 2012 Koichi Sasada <ko1@a...> * compile.c (iseq_set_sequence): show a hint if there are duplicated Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 35279) +++ thread_pthread.c (revision 35280) @@ -465,6 +465,8 @@ #define STACKADDR_AVAILABLE 1 #elif defined HAVE_PTHREAD_GET_STACKADDR_NP && defined HAVE_PTHREAD_GET_STACKSIZE_NP #define STACKADDR_AVAILABLE 1 +void *pthread_get_stackaddr_np(pthread_t); +size_t pthread_get_stacksize_np(pthread_t); #elif defined HAVE_THR_STKSEGMENT || defined HAVE_PTHREAD_STACKSEG_NP #define STACKADDR_AVAILABLE 1 #elif defined HAVE_PTHREAD_GETTHRDS_NP -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/