From 6589b49025ffaa2ef3d7d1e0308fd1676d9b7cd6 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 23 Nov 2010 08:01:22 +0000 Subject: [PATCH] re-enabled mutex initialization, because RS could not start. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3860 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libbitdht/src/util/bdthreads.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbitdht/src/util/bdthreads.h b/libbitdht/src/util/bdthreads.h index dacbd82d5..d44ff947d 100644 --- a/libbitdht/src/util/bdthreads.h +++ b/libbitdht/src/util/bdthreads.h @@ -50,9 +50,9 @@ class bdMutex std::cerr << "ERROR: Could not initialize mutex !" << std::endl ; } else +#endif if( pthread_mutex_init(&realMutex, NULL)) std::cerr << "ERROR: Could not initialize mutex !" << std::endl ; -#endif } ~bdMutex() { pthread_mutex_destroy(&realMutex); }