mirror of
https://github.com/termux/termux-packages.git
synced 2025-06-05 08:11:16 +00:00
12 lines
594 B
Diff
12 lines
594 B
Diff
--- a/third_party/crashpad/crashpad/util/posix/close_multiple.cc
|
|
+++ b/third_party/crashpad/crashpad/util/posix/close_multiple.cc
|
|
@@ -134,7 +134,7 @@
|
|
// bionic/libc/bionic/ndk_cruft.cpp getdtablesize().
|
|
int max_fd = implicit_cast<int>(sysconf(_SC_OPEN_MAX));
|
|
|
|
-#if !BUILDFLAG(IS_ANDROID)
|
|
+#if !BUILDFLAG(IS_ANDROID) && !defined(__TERMUX__)
|
|
// getdtablesize() was removed effective Android 5.0.0 (API 21). Since it
|
|
// returns the same thing as the sysconf() above, just skip it. See
|
|
// https://android.googlesource.com/platform/bionic/+/462abab12b074c62c0999859e65d5a32ebb41951.
|