mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-29 05:41:27 -08:00
j0l, j1l, jnl, y0l, y1l and ynl are glibc extensions rather than standard POSIX functions, and so are not available in every Linux libc. This patch checks if `__GLIBC__` and `_GNU_SOURCE` are defined before using these functions. This patch allows the float128 runtime to build with musl libc on Linux.