From 966f2672851db145075d8b50703797121a2f8c2f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 3 Mar 2016 04:11:24 +0100 Subject: [PATCH] (Win32) Start trying to implement Win32 backend for net_ifinfo.c --- libretro-common/net/net_ifinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libretro-common/net/net_ifinfo.c b/libretro-common/net/net_ifinfo.c index f9e7519952..369fce9851 100644 --- a/libretro-common/net/net_ifinfo.c +++ b/libretro-common/net/net_ifinfo.c @@ -40,7 +40,6 @@ void net_ifinfo_free(net_ifinfo_t *list) { -#ifndef _WIN32 unsigned k; if (!list) @@ -64,12 +63,13 @@ void net_ifinfo_free(net_ifinfo_t *list) } free(list->entries); free(list); -#endif } bool net_ifinfo_new(net_ifinfo_t *list) { -#ifndef _WIN32 +#ifdef _WIN32 + return false; +#else unsigned k = 0; struct ifaddrs *ifa = NULL; struct ifaddrs *ifaddr = NULL;