diff options
-rw-r--r-- | components/gfx/text/glyph.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs index 3f32b248c43..a41202eb3a2 100644 --- a/components/gfx/text/glyph.rs +++ b/components/gfx/text/glyph.rs @@ -72,6 +72,7 @@ pub type GlyphId = u32; // TODO: make this more type-safe. const FLAG_CHAR_IS_SPACE: u32 = 0x40000000; +#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))] const FLAG_CHAR_IS_SPACE_SHIFT: u32 = 30; const FLAG_IS_SIMPLE_GLYPH: u32 = 0x80000000; |