[libcxx-commits] [libcxx] libcxx: fixups for __BIONIC__ (PR #219591)

Nick Desaulniers via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 31 12:55:43 PDT 2026


================
@@ -40,8 +40,9 @@
 #include <fcntl.h> /* values for fchmodat */
 #include <time.h>
 
-// since Linux 4.5 and FreeBSD 13, but the Linux libc wrapper is only provided by glibc >= 2.27 and musl
-#if _LIBCPP_GLIBC_PREREQ(2, 27) || _LIBCPP_HAS_MUSL_LIBC || defined(__FreeBSD__)
+// Since Linux 4.5 and FreeBSD 13, but the Linux libc wrapper is only provided
+// by glibc >= 2.27, musl, and Bionic.
+#if _LIBCPP_GLIBC_PREREQ(2, 27) || _LIBCPP_HAS_MUSL_LIBC || defined(__FreeBSD__) || defined(__BIONIC__)
----------------
nickdesaulniers wrote:

thanks that would explain the CI failures.

https://github.com/llvm/llvm-project/pull/219591


More information about the libcxx-commits mailing list