fixed inet_ntoa warnings

This commit is contained in:
CPunch 2020-08-22 14:02:58 -05:00
parent 35b424c531
commit 0ff1f74cd3

View File

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