git: 499d2ed109ef - main - Base.h: Ifdef out always char purity test.

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 17 Nov 2025 02:42:25 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=499d2ed109ef6f284de89f2c1ad54393ecc27056

commit 499d2ed109ef6f284de89f2c1ad54393ecc27056
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-11-17 02:38:14 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-11-17 02:42:24 +0000

    Base.h: Ifdef out always char purity test.
    
    Now that we've moved to always using this, it turns out the the funky
    thing we have for L'a' is everywhere. Removing this check until I can
    sort it out. This breaks the build on armv7 otherwise.
    
    Fixes:          43b8edb32051
    Sponsored by:   Netflix
---
 sys/contrib/edk2/Include/Base.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/contrib/edk2/Include/Base.h b/sys/contrib/edk2/Include/Base.h
index 2b53e118b33f..3ae798db8429 100644
--- a/sys/contrib/edk2/Include/Base.h
+++ b/sys/contrib/edk2/Include/Base.h
@@ -829,7 +829,7 @@ STATIC_ASSERT (sizeof (CHAR16)  == 2, "sizeof (CHAR16) does not meet UEFI Specif
  * fail, but it also takes lengths to never use either of these constructs. The
  * boot loader, however, uses them and needs these assertionst o be correct.
  */
-#ifdef _STANDALONE
+#if 0
 STATIC_ASSERT (sizeof (L'A')    == 2, "sizeof (L'A') does not meet UEFI Specification Data Type requirements");
 STATIC_ASSERT (sizeof (L"A")    == 4, "sizeof (L\"A\") does not meet UEFI Specification Data Type requirements");
 #endif