diff options
-rw-r--r-- | src/ports/SkFontHost_mac_coretext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkFontHost_mac_coretext.cpp b/src/ports/SkFontHost_mac_coretext.cpp index 40e73a2305..3cd334358b 100644 --- a/src/ports/SkFontHost_mac_coretext.cpp +++ b/src/ports/SkFontHost_mac_coretext.cpp @@ -365,7 +365,7 @@ static SkFontID CTFontRef_to_SkFontID(CTFontRef fontRef) { SkFontID id = 0; // CTFontGetPlatformFont and ATSFontRef are not supported on iOS, so we have to // bracket this to be Mac only. -#if SK_BUILD_FOR_MAC +#ifdef SK_BUILD_FOR_MAC ATSFontRef ats = CTFontGetPlatformFont(fontRef, NULL); id = (SkFontID)ats; if (id != 0) { |