Added ability to turn off sending of stats in CMake configuration
This commit is contained in:
parent
a9802f82f4
commit
9a737a0622
2 changed files with 17 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
|
||||
#ifdef NO_SEND_STATS
|
||||
|
||||
void D_DoAnonStats()
|
||||
{
|
||||
}
|
||||
|
||||
#else // !NO_SEND_STATS
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
|
@ -276,3 +285,5 @@ void D_DoAnonStats()
|
|||
std::thread t1(D_DoHTTPRequest, requeststring);
|
||||
t1.detach();
|
||||
}
|
||||
|
||||
#endif // NO_SEND_STATS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue