[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28222: [Emacs-diffs] master fdde981 2/3: Fix cross macOS version bui
From: |
Alan Third |
Subject: |
bug#28222: [Emacs-diffs] master fdde981 2/3: Fix cross macOS version building (bug#28222) |
Date: |
Thu, 31 Aug 2017 19:47:09 +0100 |
User-agent: |
Mutt/1.7.2 (2016-11-26) |
On Thu, Aug 31, 2017 at 08:40:47PM +0200, Charles A. Roelli wrote:
> > Date: Tue, 29 Aug 2017 12:23:31 -0400 (EDT)
> > From: alan@idiocy.org (Alan Third)
> >
> > branch: master
> > commit fdde98113c5d1c2d4eb5c25fa750c976d90f8555
> > Author: Alan Third <alan@idiocy.org>
> > Commit: Alan Third <alan@idiocy.org>
> >
> > Fix cross macOS version building (bug#28222)
> >
> > * src/macfont.h (CGContextSetFontSmoothingStyle): Function
> > declaration.
> > * src/macfont.m (macfont_draw): Limit new code to macOS 10.8 and up.
>
> I should have mentioned this before: I tried the patch that implements
> ns_use_thin_smoothing on 10.6, and it worked well. So it seems that
> the function is available after all on 10.6+.
Oh, excellent! I’ll remove the 10.8 stuff, then.
I take it the function declaration in macfont.h is required, though?
It’s needed on 10.12 or else we get a warning.
Thanks!
--
Alan Third