From c8c760a06980ff7d6183e5d8e993c55acb899678 Mon Sep 17 00:00:00 2001 From: Johns Date: Sat, 31 Dec 2011 17:28:58 +0100 Subject: Make pthread_setname_np optional for older glibc. --- audio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio.c') diff --git a/audio.c b/audio.c index fdbb792..a12372f 100644 --- a/audio.c +++ b/audio.c @@ -48,6 +48,10 @@ #define __USE_GNU #endif #include +#ifndef HAVE_PTHREAD_NAME + /// only available with newer glibc +#define pthread_setname_np(thread, name) +#endif #endif #include "ringbuffer.h" -- cgit v1.2.3