mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: correct pthread_setname_np's prototype on NetBSD.
[Bug #9586] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3c00fe9f41
commit
b87df1bf24
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Apr 25 12:51:08 2014 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in: correct pthread_setname_np's prototype on NetBSD.
|
||||
[Bug #9586]
|
||||
|
||||
Thu Apr 24 23:17:25 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
|
||||
|
|
|
@ -2546,9 +2546,12 @@ if test x"$enable_pthread" = xyes; then
|
|||
if test "$ac_cv_func_pthread_setname_np" = yes; then
|
||||
AC_CACHE_CHECK([arguments of pthread_setname_np], [rb_cv_func_pthread_setname_np_arguments],
|
||||
[rb_cv_func_pthread_setname_np_arguments=
|
||||
# Linux,AIX, (pthread_self(), name)
|
||||
# NetBSD (pthread_self(), name, \"%s\")
|
||||
# Darwin (name)
|
||||
for mac in \
|
||||
"(pthread_self(), name)" \
|
||||
"(pthread_self(), "%s", name)" \
|
||||
"(pthread_self(), name, \"%s\")" \
|
||||
"(name)" \
|
||||
; do
|
||||
AC_TRY_COMPILE([
|
||||
|
|
Loading…
Reference in a new issue