libretroshare now compiles for Android, instruction on how to do it included

This commit is contained in:
Gio 2016-08-03 00:48:19 +02:00
parent b7416ba207
commit 9a980def2c
16 changed files with 994 additions and 45 deletions

View file

@ -275,7 +275,11 @@ int inet_aton(const char *name, struct in_addr *addr)
#include <iphlpapi.h>
#pragma comment(lib, "IPHLPAPI.lib")
#else // WINDOWS_SYS
#ifdef __ANDROID__
#include "util/ifaddrs.h"
#else // __ANDROID__
#include <ifaddrs.h>
#endif //__ANDROID__
#include <net/if.h>
#endif // WINDOWS_SYS