diff options
| author | Alan Third | 2017-08-31 20:42:35 +0100 |
|---|---|---|
| committer | Alan Third | 2017-08-31 20:44:59 +0100 |
| commit | e6a2b4c2df96ed8780ff407481a18e3f4299c8ad (patch) | |
| tree | d2eacedb00a9a1f56e8fe3a25841e01b9d93da64 /src/macfont.h | |
| parent | 5fe41a23d811b17bcde0921b37b89175806c83ef (diff) | |
| download | emacs-e6a2b4c2df96ed8780ff407481a18e3f4299c8ad.tar.gz emacs-e6a2b4c2df96ed8780ff407481a18e3f4299c8ad.zip | |
Remove unneeded version checks (bug#28222)
* src/macfont.h (CGContextSetFontSmoothingStyle): Remove version
check.
* src/macfont.m (macfont_draw): Remove version check, and test for
existence of CGContextSetFontSmoothingStyle.
Diffstat (limited to 'src/macfont.h')
| -rw-r--r-- | src/macfont.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/macfont.h b/src/macfont.h index 3a66d2d005a..909336cdbad 100644 --- a/src/macfont.h +++ b/src/macfont.h | |||
| @@ -83,9 +83,6 @@ extern void mac_register_font_driver (struct frame *f); | |||
| 83 | extern void *macfont_get_nsctfont (struct font *font); | 83 | extern void *macfont_get_nsctfont (struct font *font); |
| 84 | extern void macfont_update_antialias_threshold (void); | 84 | extern void macfont_update_antialias_threshold (void); |
| 85 | 85 | ||
| 86 | #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080 | 86 | /* This is an undocumented function. */ |
| 87 | /* This is an undocumented function that is probably not available | ||
| 88 | pre-10.8. */ | ||
| 89 | extern void CGContextSetFontSmoothingStyle(CGContextRef, int) | 87 | extern void CGContextSetFontSmoothingStyle(CGContextRef, int) |
| 90 | __attribute__((weak_import)); | 88 | __attribute__((weak_import)); |
| 91 | #endif | ||