unix: fix long line introduced in commit 94e628fa
PR-URL: https://github.com/libuv/libuv/pull/150 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
955b1806c7
commit
0b9ee2cf00
@ -37,7 +37,9 @@ static int uv__pthread_setname_np(const char* name) {
|
||||
int err;
|
||||
|
||||
/* pthread_setname_np() first appeared in OS X 10.6 and iOS 3.2. */
|
||||
*(void **)(&dynamic_pthread_setname_np) = dlsym(RTLD_DEFAULT, "pthread_setname_np");
|
||||
*(void **)(&dynamic_pthread_setname_np) =
|
||||
dlsym(RTLD_DEFAULT, "pthread_setname_np");
|
||||
|
||||
if (dynamic_pthread_setname_np == NULL)
|
||||
return -ENOSYS;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user