aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2025-11-17 02:38:14 +0000
committerWarner Losh <imp@FreeBSD.org>2025-11-17 02:42:24 +0000
commit499d2ed109ef6f284de89f2c1ad54393ecc27056 (patch)
tree3d68746a0fad958ccd4ad9802cbd90ce478d013f
parentde060b6851a4c96defaa5dde6a1b6e7468486c8c (diff)
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
-rw-r--r--sys/contrib/edk2/Include/Base.h2
1 files changed, 1 insertions, 1 deletions
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