Fix compilation on GNU/Hurd

(cherry picked from commit 89ad5e6779)
This commit is contained in:
Pino Toscano
2013-10-28 14:01:11 -02:00
committed by Marcelo Roberto Jimenez
parent 4e87527eb6
commit 89d34af3bd
4 changed files with 9 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ extern "C" {
#include <pthread.h>
#if defined(BSD)
#if defined(BSD) && !defined(__GNU__)
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif