From a81c01729b9e91ad3fc3b02f32625fedbedada41 Mon Sep 17 00:00:00 2001 From: radius Date: Tue, 16 May 2017 20:13:58 -0500 Subject: [PATCH] use inet_ntoa if INET6_ADDRSTRLEN is not defined --- menu/cbs/menu_cbs_ok.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index da04e15e5f..02059d0819 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -3513,7 +3513,7 @@ finish: address = &host->addr; -#if 0 +#ifdef INET6_ADDRSTRLEN /* TODO/FIXME - inet_ntop is not portable. Need to create * a wrapper function in libretro-common which will wrap * this and ensure that it will work on most platforms.