diff --git a/src/tor/TorManager.cpp b/src/tor/TorManager.cpp index bfc5a6aee..c3707b2c3 100644 --- a/src/tor/TorManager.cpp +++ b/src/tor/TorManager.cpp @@ -933,7 +933,7 @@ void RsTor::setHiddenServiceDirectory(const std::string& dir) TorManager *RsTor::instance() { -#if !defined(_WIN32) && !defined(__MINGW32__) +#if !defined(_WIN32) && !defined(__MINGW32__) && !defined(__APPLE__) assert(getpid() == syscall(SYS_gettid));// make sure we're not in a thread #endif