use inet_ntoa if INET6_ADDRSTRLEN is not defined

This commit is contained in:
radius 2017-05-16 20:13:58 -05:00
parent 85afd633e4
commit a81c01729b

View File

@ -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.