From f41740ec89477d066376d6e60aaf6f849237d454 Mon Sep 17 00:00:00 2001 From: Руслан Ижбулатов Date: Sat, 25 Feb 2017 12:47:56 +0000 Subject: W32: Fix the conditaions for the ifconfig function It's not used on W32. --- src/util/os_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') diff --git a/src/util/os_network.c b/src/util/os_network.c index 2ac1a16d3..5cb2b6864 100644 --- a/src/util/os_network.c +++ b/src/util/os_network.c @@ -35,7 +35,7 @@ #define LOG_STRERROR_FILE(kind,syscall,filename) GNUNET_log_from_strerror_file (kind, "util-os-network", syscall, filename) -#if ! (HAVE_GETIFADDRS && HAVE_FREEIFADDRS) +#if ! (HAVE_GETIFADDRS && HAVE_FREEIFADDRS) && !MINGW /** * Try to enumerate all network interfaces using 'ifconfig'. * -- cgit v1.2.3