Project

General

Profile

Bug #15178 » configure.ac.diff

ptherad_setname_np()の引数を修正 - taca (Takahiro Kambe), 09/29/2018 03:24 PM

View differences:

configure.ac (working copy)
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\")
# NetBSD (pthread_self(), \"%s\", name)
# Darwin (name)
for mac in \
"(pthread_self(), name)" \
"(pthread_self(), name, \"%s\")" \
"(pthread_self(), \"%s\", name)" \
"(name)" \
; do
AC_TRY_COMPILE([
    (1-1/1)