diff options
Diffstat (limited to 'xmrstak/net/socks.hpp')
-rw-r--r-- | xmrstak/net/socks.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmrstak/net/socks.hpp b/xmrstak/net/socks.hpp index 82bfa2f..1d25d3a 100644 --- a/xmrstak/net/socks.hpp +++ b/xmrstak/net/socks.hpp @@ -1,4 +1,5 @@ #pragma once + #ifdef _WIN32 #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0601 /* Windows 7 */ @@ -7,6 +8,7 @@ #include <ws2tcpip.h> #include <windows.h> + inline void sock_init() { static bool bWSAInit = false; |