1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* thread_pthread.c: add prototype declarations for older Mac OS X.

[ruby-core:43376][Bug #6170]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-04-10 07:53:24 +00:00
parent 99fd04b46f
commit 6a1f418672
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Apr 10 16:53:21 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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@atdot.net>
* compile.c (iseq_set_sequence): show a hint if there are duplicated

View file

@ -465,6 +465,8 @@ static rb_thread_t *register_cached_thread_and_wait(void);
#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