OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7bf93f
)
build: Define __USE_UNIX98 for old glibc
author
Takashi Iwai
<tiwai@suse.de>
Tue, 16 May 2017 14:17:57 +0000
(16:17 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 16 May 2017 14:17:57 +0000
(16:17 +0200)
Otherwise PTHREAD_MUTEX_RECURSIVE isn't defined and we get an error
with old glibc.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_local.h
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_local.h
b/src/pcm/pcm_local.h
index
32e6dcd
..
e4f6521
100644
(file)
--- a/
src/pcm/pcm_local.h
+++ b/
src/pcm/pcm_local.h
@@
-35,6
+35,7
@@
#include "local.h"
#ifdef THREAD_SAFE_API
+#define __USE_UNIX98 1 /* for old glibc */
#include <pthread.h>
#endif