[Openmp-commits] [openmp] [openmp] Remove Android 4 support (PR #124167)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 23 10:07:21 PST 2025


https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/124167

None

>From ac2fa92a32754732ae53aa1d4a1d0f1fa1cfe49d Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Wed, 22 Jan 2025 22:24:17 -0500
Subject: [PATCH] [openmp] Remove Android 4 support

---
 openmp/runtime/src/kmp_i18n.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openmp/runtime/src/kmp_i18n.cpp b/openmp/runtime/src/kmp_i18n.cpp
index a164aa180dd48b..e0ea1908dc5e02 100644
--- a/openmp/runtime/src/kmp_i18n.cpp
+++ b/openmp/runtime/src/kmp_i18n.cpp
@@ -709,8 +709,7 @@ static char *sys_error(int err) {
   */
 
 #if (defined(__GLIBC__) && defined(_GNU_SOURCE)) ||                            \
-    (defined(__BIONIC__) && defined(_GNU_SOURCE) &&                            \
-     __ANDROID_API__ >= __ANDROID_API_M__)
+    (defined(__BIONIC__) && defined(_GNU_SOURCE))
   // GNU version of strerror_r.
 
   char buffer[2048];



More information about the Openmp-commits mailing list