aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-05-16 11:45:20 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-05-16 11:45:27 -0700
commit07f213cb87120570484812aaf4faf217414a4110 (patch)
treed9033df98a46a60b05f30772fc6de42f03957e44 /components/gfx/text
parenteaf4c5e5c50e02009b2b76488fd31cfa6b00b73a (diff)
downloadservo-07f213cb87120570484812aaf4faf217414a4110.tar.gz
servo-07f213cb87120570484812aaf4faf217414a4110.zip
Fix unused item warning on 32-bit platforms
Diffstat (limited to 'components/gfx/text')
-rw-r--r--components/gfx/text/glyph.rs1
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;