summaryrefslogtreecommitdiffstats
path: root/src/gui_riscos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_riscos.c')
-rw-r--r--src/gui_riscos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_riscos.c b/src/gui_riscos.c
index 7c9555e60e..f9784a2416 100644
--- a/src/gui_riscos.c
+++ b/src/gui_riscos.c
@@ -1052,6 +1052,7 @@ gui_mch_get_font(name, giveErrorIfMissing)
return handle;
}
+#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return the name of font "font" in allocated memory.
* Don't know how to get the actual name, thus use the provided name.
@@ -1065,6 +1066,7 @@ gui_mch_get_fontname(font, name)
return NULL;
return vim_strsave(name);
}
+#endif
/*
* Set the current text font.