From 18dac77c0601e594bf09b1176b06e42ad1199fa6 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Thu, 7 Oct 2010 19:49:50 +0000 Subject: [PATCH] Fixed compile on Windows. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3642 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- src/util/bdthreads.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/bdthreads.cc b/src/util/bdthreads.cc index 6e79c67..d56431f 100644 --- a/src/util/bdthreads.cc +++ b/src/util/bdthreads.cc @@ -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); }