From 1025cd0cb8a9b36b84ca9cbd866189fed69bd869 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 23 Apr 2024 13:46:49 -0700 Subject: [PATCH] [libc] Fix aarch64 build error in FEnvSafeTest change --- libc/test/UnitTest/FEnvSafeTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/test/UnitTest/FEnvSafeTest.cpp b/libc/test/UnitTest/FEnvSafeTest.cpp index 43aebc3f36e7b3..905aa928937387 100644 --- a/libc/test/UnitTest/FEnvSafeTest.cpp +++ b/libc/test/UnitTest/FEnvSafeTest.cpp @@ -36,7 +36,7 @@ void FEnvSafeTest::set_fenv(const fenv_t &fenv) { void FEnvSafeTest::expect_fenv_eq(const fenv_t &before_fenv, const fenv_t &after_fenv) { #if defined(LIBC_TARGET_ARCH_IS_AARCH64) - using LIBC_NAMESPACE::fputil::FEnv::FPState; + using FPState = LIBC_NAMESPACE::fputil::FEnv::FPState; const FPState &before_state = reinterpret_cast(before_fenv); const FPState &after_state = reinterpret_cast(after_fenv);