[Openmp-commits] [openmp] [OpenMP] Simplify GNU strerror_r check for Android (PR #148990)
Brad Smith via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 18 08:02:45 PDT 2025
================
@@ -708,9 +708,7 @@ static char *sys_error(int err) {
int strerror_r( int, char *, size_t ); // XSI version
*/
-#if (defined(__GLIBC__) && defined(_GNU_SOURCE)) || \
- (defined(__BIONIC__) && defined(_GNU_SOURCE) && \
- __ANDROID_API__ >= __ANDROID_API_M__)
----------------
brad0 wrote:
> openmp is distributed as part of the NDK, so i think it's too early to drop apis 21 and 22.
>
> @pirama-arumuga-nainar though, because for all i know we already only build openmp at a higher api level, so it's already broken.
Ok, I can leave it for now. No rush. Thanks.
https://github.com/llvm/llvm-project/pull/148990
More information about the Openmp-commits
mailing list