#define TTY_SAME_COLOR_THRESHOLD 10000
+#ifdef HAVE_WINDOW_SYSTEM
/* Return non-zero if all the face attributes in ATTRS are supported
on the window-system frame F.
return 1;
}
+#endif /* HAVE_WINDOW_SYSTEM */
/* Return non-zero if all the face attributes in ATTRS are supported
on the tty frame F.
/* Dispatch to the appropriate handler. */
if (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f))
supports = tty_supports_face_attributes_p (f, attrs);
+#ifdef HAVE_WINDOW_SYSTEM
else
supports = x_supports_face_attributes_p (f, attrs);
+#endif /* HAVE_WINDOW_SYSTEM */
return supports ? Qt : Qnil;
}