updated for version 7.0027
diff --git a/src/gui_mac.c b/src/gui_mac.c
index f5e29ab..3b73339 100644
--- a/src/gui_mac.c
+++ b/src/gui_mac.c
@@ -3569,6 +3569,7 @@
     return font;
 }
 
+#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.
@@ -3582,6 +3583,7 @@
 	return NULL;
     return vim_strsave(name);
 }
+#endif
 
 /*
  * Set the current text font.