From: Michael Jeanson Date: Wed, 16 Dec 2020 17:40:53 +0000 (-0500) Subject: Fix: different pthread_getname_np signature() on macOS causes build failure X-Git-Tag: v2.13.0-rc1~380 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=3f3e7eb74963e75f9b0bb76b854d8be2dcbb0443;hp=3f3e7eb74963e75f9b0bb76b854d8be2dcbb0443;p=lttng-tools.git Fix: different pthread_getname_np signature() on macOS causes build failure macOS likes to be special so it has pthread_setname_np() without a thread id parameter, but a pthread_getname_np() with it. Split the detection macro in two and modifiy the compat layer to handle it. Change-Id: I8034c54057d68eef59546960c75afe8fbe07f5ad Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau ---