to compile on non-window system.
+2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM
+ to compile on non-window system.
+
2004-03-19 Kim F. Storm <storm@cua.dk>
* dispextern.h (calc_pixel_width_or_height): Add prototype.
if (SYMBOLP (car))
{
+#ifdef HAVE_WINDOW_SYSTEM
if (valid_image_p (prop))
{
int id = lookup_image (it->f, prop);
return OK_PIXELS (width_p ? img->width : img->height);
}
-
+#endif
if (EQ (car, Qplus) || EQ (car, Qminus))
{
int first = 1;