diff options
author | Michael Jones <michaelrj@google.com> | 2024-03-18 14:19:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-18 14:19:33 -0700 |
commit | 5d56b34807e0f6e7a6684e57bec7c1751778862c (patch) | |
tree | 904d422f958d4c1fc0f726b87761a5ef9286f270 /libc/test/UnitTest | |
parent | d0d9839b146692160aa3e0efed86faefde949f49 (diff) | |
download | llvm-5d56b34807e0f6e7a6684e57bec7c1751778862c.zip llvm-5d56b34807e0f6e7a6684e57bec7c1751778862c.tar.gz llvm-5d56b34807e0f6e7a6684e57bec7c1751778862c.tar.bz2 |
[libc] Remove direct math.h includes (#85324)
Reland of #84991
A downstream overlay mode user ran into issues with the isnan macro not
working in our sources with a specific libc configuration. This patch
replaces the last direct includes of math.h with our internal
math_macros.h, along with the necessary build system changes.
Diffstat (limited to 'libc/test/UnitTest')
-rw-r--r-- | libc/test/UnitTest/FPMatcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/test/UnitTest/FPMatcher.h b/libc/test/UnitTest/FPMatcher.h index ae9d674..43000ef 100644 --- a/libc/test/UnitTest/FPMatcher.h +++ b/libc/test/UnitTest/FPMatcher.h @@ -17,7 +17,7 @@ #include "test/UnitTest/StringUtils.h" #include "test/UnitTest/Test.h" -#include <math.h> +#include "include/llvm-libc-macros/math-macros.h" namespace LIBC_NAMESPACE { namespace testing { |