--- a/src/netxs/os/system.hpp +++ b/src/netxs/os/system.hpp @@ -1696,7 +1696,7 @@ #elif defined(__linux__) auto cred = ucred{}; - #ifndef __ANDROID__ + #ifdef __ANDROID__ socklen_t size = sizeof(cred); #else unsigned size = sizeof(cred);