Skip to content
Snippets Groups Projects
Commit 82941872 authored by Constantin Papizh's avatar Constantin Papizh
Browse files

Temporary fix for Win

parent 1b96ebed
No related branches found
No related tags found
1 merge request!24Support 3689
...@@ -77,7 +77,12 @@ if(UNIX) ...@@ -77,7 +77,12 @@ if(UNIX)
) )
endif() endif()
target_include_directories(${PROJECT_NAME} INTERFACE . PUBLIC ${IPUTILS_INCLUDE_DIRS}) target_include_directories(${PROJECT_NAME} INTERFACE . )
if (!WIN32)
target_include_directories(${PROJECT_NAME} PUBLIC ${IPUTILS_INCLUDE_DIRS})
endif()
set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE) set(${PROJECT_NAME}_DEFINITIONS CACHE INTERNAL "${PROJECT_NAME}: Definitions" FORCE)
......
...@@ -212,7 +212,9 @@ static void* node_ping_background_proc(void *a_arg) ...@@ -212,7 +212,9 @@ static void* node_ping_background_proc(void *a_arg)
if(!str_ip4) if(!str_ip4)
continue; continue;
int hops = 0, time_usec = 0; int hops = 0, time_usec = 0;
#ifndef _WIN32
int res = traceroute_util(str_ip4, &hops, &time_usec); int res = traceroute_util(str_ip4, &hops, &time_usec);
#endif
DAP_DELETE(host4); DAP_DELETE(host4);
if(l_min_hops>hops) if(l_min_hops>hops)
s_node_addr_tr = l_node_list->data; s_node_addr_tr = l_node_list->data;
......
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