diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-02 09:38:36 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-02 09:38:36 +0800 |
commit | 48ea81af97b04d507674e06d78c247f868135d48 (patch) | |
tree | 7a5992bd2c95c539831c6a1754d97722456db321 /src/nsterm.m | |
parent | 7b05f351f26849ab31d9425e585f7a418496a574 (diff) | |
download | emacs-48ea81af97b04d507674e06d78c247f868135d48.tar.gz |
Fix the macOS build
* src/nsterm.m (ns_font_desc_to_font_spec, syms_of_nsterm):
Define missing symbols that are only on GNUstep.
Diffstat (limited to 'src/nsterm.m')
-rw-r--r-- | src/nsterm.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 730472d261e..f9d46c73d73 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -6087,7 +6087,7 @@ ns_font_desc_to_font_spec (NSFontDescriptor *desc, NSFont *font) if (tem != nil) lslant = ([tem floatValue] > 0 ? Qitalic : ([tem floatValue] < 0 - ? intern ("reverse-italic") + ? Qreverse_italic : Qnormal)); tem = [dict objectForKey: NSFontWeightTrait]; @@ -10260,6 +10260,9 @@ This variable is ignored on macOS < 10.7 and GNUstep. Default is t. */); DEFSYM (QCordinary, ":ordinary"); DEFSYM (QCfunction, ":function"); DEFSYM (QCmouse, ":mouse"); + DEFSYM (Qcondensed, "condensed"); + DEFSYM (Qreverse_italic, "reverse-italic"); + DEFSYM (Qexpanded, "reverse-italic"); #ifdef NS_IMPL_COCOA Fprovide (Qcocoa, Qnil); |