diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-25 04:06:45 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-25 04:06:45 +0000 |
| commit | b87df1bf243074edb2e6cc8a24bc00df81cebf3c (patch) | |
| tree | 7d74c8faee75239b19422b80c054c2ce6a50c4be | |
| parent | 3c00fe9f419cef63520f16b051950a5693d74d6e (diff) | |
* 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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | configure.in | 5 |
2 files changed, 9 insertions, 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 diff --git a/configure.in b/configure.in index 8a9254d738..93c01631ad 100644 --- a/configure.in +++ b/configure.in @@ -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([ |
