2b4ee11fba
Co-authored-by: Luka Mamukashvili <ultraluka0@gmail.com> Co-authored-by: Aditya Alok <dev.aditya.alok@gmail.com>
12 lines
359 B
Diff
12 lines
359 B
Diff
--- 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);
|