mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
fixed compilation for appveyor
This commit is contained in:
parent
8505544294
commit
b6156bff00
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <syscall.h>
|
||||
#include <iostream>
|
||||
|
||||
#include "TorManager.h"
|
||||
|
@ -673,7 +674,7 @@ void RsTor::setHiddenServiceDirectory(const std::string& dir)
|
|||
|
||||
TorManager *RsTor::instance()
|
||||
{
|
||||
assert(getpid() == gettid()); // make sure we're not in a thread
|
||||
assert(getpid() == syscall(SYS_gettid));// make sure we're not in a thread
|
||||
|
||||
static TorManager *rsTor = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue