diff --git a/src/CNProtocol.cpp b/src/CNProtocol.cpp index f7df999..ce76875 100644 --- a/src/CNProtocol.cpp +++ b/src/CNProtocol.cpp @@ -1,6 +1,10 @@ #include "CNProtocol.hpp" #include "CNStructs.hpp" +#ifdef _MSC_VER + #define _WINSOCK_DEPRECATED_NO_WARNINGS +#endif + // ========================================================[[ CNSocketEncryption ]]======================================================== // literally C/P from the client and converted to C++ (does some byte swapping /shrug)