Skip to content
Snippets Groups Projects
Commit 66efd3f4 authored by Roxie Linden's avatar Roxie Linden
Browse files

fix windows build break again

parent d79af12e
No related branches found
No related tags found
No related merge requests found
......@@ -13,11 +13,7 @@ set(LLCOMMON_INCLUDE_DIRS
${Boost_INCLUDE_DIRS}
)
if (WINDOWS)
set(LLCOMMON_LIBRARIES llcommon iphlpapi)
else (WINDOWS)
set(LLCOMMON_LIBRARIES llcommon)
endif (WINDOWS)
set(LLCOMMON_LIBRARIES llcommon)
add_definitions(${TCMALLOC_FLAG})
......
......@@ -36,6 +36,8 @@
#undef WIN32_LEAN_AND_MEAN
#include <winsock2.h>
#include <windows.h>
// ugh, this is ugly. We need to straighten out our linking for this library
#pragma comment(lib, "IPHLPAPI.lib")
#include <iphlpapi.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment