Skip to content

Commit ce3b429

Browse files
lntueSterling-Augustine
authored andcommitted
[libc] Fix iscanonical test on aarch64 and riscv64. (llvm#110907)
1 parent 96db61b commit ce3b429

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc/test/src/math/smoke/iscanonical_test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
#include "IsCanonicalTest.h"
1010

11+
// The testing framework might include math.h and iscanonical macro definition
12+
// in overlay mode.
13+
#undef iscanonical
14+
1115
#include "src/math/iscanonical.h"
1216

1317
LIST_ISCANONICAL_TESTS(double, LIBC_NAMESPACE::iscanonical)

0 commit comments

Comments
 (0)