MSVS 2015 compilation error > C:\WORK\GitHub\log4cplus\include\log4cplus/internal/socket.h(88): error C3861: FreeAddrInfoW: identifier not found The problem is related to https://github.com/log4cplus/log4cplus/blob/REL_1_2_0/CMakeLists.txt#L73 `set(_WIN32_WINNT 0x0500 CACHE STRING "Define Windows API version to use.")` Must be at least 0x0502, because this function available in [Windows XP SP 2](https://msdn.microsoft.com/en-us/library/windows/desktop/ms737931%28v=vs.85%29.aspx). Or greater (Vista - 0x0600) as on master branch