do not typedef socklen_t on Android
Subsystems (3)
PATCH v2 1/1 do not typedef socklen_t on Android
From: Maciej Żenczykowski <[email protected]>
This is present in bionic header files regardless of compiler being used (likely clang)
Test: builds
Signed-off-by Maciej Żenczykowski <[email protected]>
--- libiptc/libip4tc.c | 2 +- libiptc/libip6tc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
libiptc/libip4tc.c +1 -1
@@ -22,7 +22,7 @@#define inline#endif -#if !defined(__GLIBC__) || (__GLIBC__ <2 ) +#if !defined(__BIONIC__) && (!defined(__GLIBC__) || (__GLIBC__ <2 ))typedef unsigned int socklen_t ;#endif
libiptc/libip6tc.c +1 -1
@@ -23,7 +23,7 @@#define inline#endif -#if !defined(__GLIBC__) || (__GLIBC__ <2 ) +#if !defined(__BIONIC__) && (!defined(__GLIBC__) || (__GLIBC__ <2 ))typedef unsigned int socklen_t ;#endif
Signature · 1 line
2.26.2.645.ge9eca65c58-goog
Quoted 4 lines · Maciej Żenczykowski
From: Maciej Żenczykowski <[email protected]>
This is present in bionic header files regardless of compiler being used (likely clang)
Applied, thanks.