You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/libraries/Native/Unix/System.Native/pal_ifaddrs.h
+8-30
Original file line number
Diff line number
Diff line change
@@ -7,37 +7,15 @@
7
7
#error The pal_ifaddrs.h shim is intended only for Android
8
8
#endif
9
9
10
+
#if__ANDROID_API__ >= 24
11
+
#error The pal_ifaddrs.h shim is only necessary for Android API 21-23 and it should be removed now that the minimum supported API level is 24 or higher
12
+
#endif
13
+
10
14
// Android doesn't include the getifaddrs and freeifaddrs functions in older Bionic libc (pre API 24).
11
-
// In recent Android versions (Android 11+) the data returned by the getifaddrs function is not valid.
12
15
// This shim is a port of Xamarin Android's implementation of getifaddrs using Netlink.
0 commit comments