mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Fix unused item warning on 32-bit platforms
This commit is contained in:
parent
eaf4c5e5c5
commit
07f213cb87
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue