Fix unused item warning on 32-bit platforms

This commit is contained in:
Matt Brubeck 2016-05-16 11:45:20 -07:00
parent eaf4c5e5c5
commit 07f213cb87

View file

@ -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;