Fixed compile on Windows.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3642 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-10-07 19:49:50 +00:00
parent cb39d5ec32
commit 1d42757a64

View File

@ -75,7 +75,11 @@ bdThread::bdThread()
void bdThread::join() /* waits for the the mTid thread to stop */
{
#if defined(_WIN32) || defined(__MINGW32__)
/* Its a struct in Windows compile and the member .p ist checked in the pthreads library */
#else
if(mTid > 0)
#endif
pthread_join(mTid, NULL);
}