diff options
author | Johns <johns98@gmx.net> | 2011-12-31 17:28:58 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-31 17:28:58 +0100 |
commit | c8c760a06980ff7d6183e5d8e993c55acb899678 (patch) | |
tree | a5d3cb9823be77fdb4da5eaa01e629791e9c6b1f /audio.c | |
parent | 0c7170989d5d47b4b3e14046dae4aac5de483d20 (diff) | |
download | vdr-plugin-softhddevice-c8c760a06980ff7d6183e5d8e993c55acb899678.tar.gz vdr-plugin-softhddevice-c8c760a06980ff7d6183e5d8e993c55acb899678.tar.bz2 |
Make pthread_setname_np optional for older glibc.
Diffstat (limited to 'audio.c')
-rw-r--r-- | audio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -48,6 +48,10 @@ #define __USE_GNU #endif #include <pthread.h> +#ifndef HAVE_PTHREAD_NAME + /// only available with newer glibc +#define pthread_setname_np(thread, name) +#endif #endif #include "ringbuffer.h" |