Skip to content

Commit

Permalink
Fix preprocessor conditional to build on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
apparentsoft committed May 14, 2015
1 parent 28cffb3 commit d3cfd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ashton/AshtonUtils.m
Expand Up @@ -47,7 +47,7 @@ + (id)CTFontRefWithFamilyName:(NSString *)familyName postScriptName:(NSString *)
font = CFBridgingRelease(newFont);
}
}
#ifdef TARGET_OS_MAC
#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED
NSFontDescriptor *fontDescriptor = [font fontDescriptor];
font = [NSFont fontWithDescriptor:fontDescriptor size:fontDescriptor.pointSize];
#endif
Expand Down

0 comments on commit d3cfd6f

Please sign in to comment.