Fixed type in OS check

Fixes a typo that caused iOS-specific layout attributes not to be
included installing a constraint.
This commit is contained in:
Sebastian Rehnby 2015-02-04 15:51:36 +01:00
parent 81be19bc36
commit 7cdb7bd8f8
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
if (self & ConstraintAttributes.Baseline) { if (self & ConstraintAttributes.Baseline) {
attrs.append(.Baseline) attrs.append(.Baseline)
} }
#if os(ios) #if os(iOS)
if (self & ConstraintAttributes.FirstBaseline) { if (self & ConstraintAttributes.FirstBaseline) {
attrs.append(.FirstBaseline) attrs.append(.FirstBaseline)
} }