external/alsa-lib
Révision | d8296709f0725920a5498da83e27d132a2bcd776 (tree) |
---|---|
l'heure | 2015-10-10 02:16:36 |
Auteur | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
Change to use PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
This reverts commit f3b56723a605bd7a0480550a7509612a8dc4cd19.
@@ -413,6 +413,7 @@ beginning:</P> | ||
413 | 413 | |
414 | 414 | */ |
415 | 415 | |
416 | + | |
416 | 417 | #include <stdarg.h> |
417 | 418 | #include <limits.h> |
418 | 419 | #include <sys/stat.h> |
@@ -426,7 +427,7 @@ beginning:</P> | ||
426 | 427 | |
427 | 428 | #ifdef HAVE_LIBPTHREAD |
428 | 429 | static pthread_mutex_t snd_config_update_mutex = |
429 | - PTHREAD_RECURSIVE_MUTEX_INITIALIZER; //another bad fix by fattire was _NP | |
430 | + PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; | |
430 | 431 | #endif |
431 | 432 | |
432 | 433 | struct _snd_config { |