mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Merge branch 'dev' of https://github.com/zerotier/ZeroTierOne into dev
This commit is contained in:
commit
5c5e7fc7ff
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
#pragma region Includes
|
#pragma region Includes
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
|
||||||
#include <WinSock2.h>
|
#include <WinSock2.h>
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -150,3 +152,5 @@ void ZeroTierOneService::OnShutdown()
|
||||||
// stop thread on system shutdown (if it hasn't happened already)
|
// stop thread on system shutdown (if it hasn't happened already)
|
||||||
OnStop();
|
OnStop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "ServiceBase.h"
|
#include "ServiceBase.h"
|
||||||
|
@ -64,3 +66,5 @@ private:
|
||||||
ZeroTier::Mutex _lock;
|
ZeroTier::Mutex _lock;
|
||||||
ZeroTier::Thread _thread;
|
ZeroTier::Thread _thread;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue