termux-packages/packages/vtm/netxs-os-system.hpp.patch
Tee KOBAYASHI 2b4ee11fba vtm: Update to 0.7.2
Co-authored-by: Luka Mamukashvili <ultraluka0@gmail.com>
Co-authored-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-30 09:58:46 +09:00

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);