From a5a33bf4992cebc1b845cb2709c4bde3d20ba1b8 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 22 Jan 2019 22:20:16 +0100 Subject: [PATCH] attempt to fix compilation of MacOS --- src/util/bdthreads.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/bdthreads.cc b/src/util/bdthreads.cc index 942df30..3fce7ff 100644 --- a/src/util/bdthreads.cc +++ b/src/util/bdthreads.cc @@ -121,7 +121,7 @@ void bdThread::join() /* waits for the the mTid thread to stop */ mMutex.lock(); { -#if defined(_WIN32) || defined(__MINGW32__) +#if defined(_WIN32) || defined(__MINGW32__) || defined(__APPLE__) /* Its a struct in Windows compile and the member .p ist checked in the pthreads library */ #else if(mTid > 0)