[lib][libc] don't compile the floating point tests if there's no FPU

This commit is contained in:
Travis Geiselbrecht
2025-06-10 23:57:05 -07:00
parent 2865ab6813
commit 73d29b0860

View File

@@ -4,6 +4,8 @@
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#if !WITH_NO_FP
#include <lib/unittest.h>
#include <stdio.h>
#include <string.h>
@@ -63,3 +65,5 @@ RUN_TEST(hex);
END_TEST_CASE(printf_tests_float)
} // namespace
#endif // !WITH_NO_FP