[Openmp-commits] [PATCH] D25071: [openmp] fix a compile error on musl-libc

Lei Zhang via Openmp-commits openmp-commits at lists.llvm.org
Fri Oct 7 06:52:07 PDT 2016

zlei added inline comments.

Comment at: runtime/src/kmp_i18n.c:812
-        #if KMP_OS_LINUX
+        #if KMP_OS_LINUX && __GLIBC__
mgorny wrote:
> Hmm, wouldn't it be reasonable to just check for __GLIBC__? I think non-Linux (Hurd?) glibc would have the same signature, wouldn't it?
Agree. Although I don't know if anyone is really building libomp on those niche platforms.


More information about the Openmp-commits mailing list