uwp fixes

This commit is contained in:
Benjamin Sergeant
2020-05-01 11:27:59 -07:00
parent b21e2506bf
commit b34d9f6a06
3 changed files with 12 additions and 1 deletions

View File

@ -4,6 +4,14 @@
* Copyright (c) 2019 Machine Zone. All rights reserved.
*/
// Using inet_addr will trigger an error on uwp without this
// FIXME: use a different api
#ifdef _WIN32
#ifndef _WINSOCK_DEPRECATED_NO_WARNINGS
#define _WINSOCK_DEPRECATED_NO_WARNINGS
#endif
#endif
#include "IXGetFreePort.h"
#include <ixwebsocket/IXNetSystem.h>