From 4bb320d3cc4498f657499671dee399f4ae205feb Mon Sep 17 00:00:00 2001 From: defnax Date: Wed, 27 Jan 2010 14:08:51 +0000 Subject: [PATCH] fixed compiling under win git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2138 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/util/rsthreads.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/util/rsthreads.h b/libretroshare/src/util/rsthreads.h index d70198a4a..0a981deff 100644 --- a/libretroshare/src/util/rsthreads.h +++ b/libretroshare/src/util/rsthreads.h @@ -69,7 +69,9 @@ class RsMutex if(--_cnt == 0) { #endif +#ifndef WIN32 _thread_id = 0 ; +#endif pthread_mutex_unlock(&realMutex); #ifdef RSTHREAD_SELF_LOCKING_GUARD }