diff --git a/src/utils/types.hpp b/src/utils/types.hpp index 0fa73c7cb..c2021fcfd 100644 --- a/src/utils/types.hpp +++ b/src/utils/types.hpp @@ -26,6 +26,11 @@ typedef unsigned __int32 uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; + #elif defined(_MSC_VER) && _MSC_VER >= 1700 + #include + // We can't use the ifndef SOCKET_ERROR below in this case, since + // SOCKET_ERROR will be defined again in winsock2.h later + // - without the #ifdef guard then causing a compiler error. #else #include #ifndef SOCKET_ERROR