X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/763a11d0d0dcf543e89a22c98f55ea07c40ceefa..47571310770234371eb6e361214056efd1b67137:/src/nsterm.m diff --git a/src/nsterm.m b/src/nsterm.m index f2eeeda93b..3a570628cb 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5012,9 +5012,11 @@ not_in_argv (NSString *arg) if (EQ (font->driver->type, Qns)) nsfont = ((struct nsfont_info *)font)->nsfont; +#ifdef NS_IMPL_COCOA #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 else nsfont = (NSFont *) macfont_get_nsctfont (font); +#endif #endif if ((newFont = [sender convertFont: nsfont]))