fix ws curl error message + some Windows warnings

This commit is contained in:
Benjamin Sergeant
2020-12-12 11:00:55 -08:00
parent 2fac4bd9ef
commit 93ad709dfd
6 changed files with 12 additions and 5 deletions

View File

@ -34,6 +34,12 @@ typedef unsigned long int nfds_t;
namespace ix
{
#ifdef _WIN32
typedef SOCKET socket_t;
#else
typedef int socket_t;
#endif
bool initNetSystem();
bool uninitNetSystem();