# HG changeset patch # User Kim F. Storm # Date 1049143301 0 # Node ID 6defa3317421ba7cb3766166c1b1802b9f0084fd # Parent ff37be8c3a2a479c5df1909e6ce28b8717e8cb8a Fix compilation for --with-x=no. diff -r ff37be8c3a2a -r 6defa3317421 src/frame.c --- a/src/frame.c Mon Mar 31 20:36:37 2003 +0000 +++ b/src/frame.c Mon Mar 31 20:41:41 2003 +0000 @@ -51,6 +51,8 @@ #endif +#ifdef HAVE_WINDOW_SYSTEM + /* The name we're using in resource queries. Most often "emacs". */ Lisp_Object Vx_resource_name; @@ -60,6 +62,7 @@ Lisp_Object Vx_resource_class; +#endif Lisp_Object Qframep, Qframe_live_p; Lisp_Object Qicon, Qmodeline; @@ -3987,6 +3990,7 @@ } } +#ifdef HAVE_WINDOW_SYSTEM DEFVAR_LISP ("x-resource-name", &Vx_resource_name, doc: /* The name Emacs uses to look up X resources. `x-get-resource' uses this as the first component of the instance name @@ -4010,6 +4014,7 @@ but binding this variable locally around a call to `x-get-resource' is a reasonable practice. See also the variable `x-resource-name'. */); Vx_resource_class = build_string (EMACS_CLASS); +#endif DEFVAR_LISP ("default-frame-alist", &Vdefault_frame_alist, doc: /* Alist of default values for frame creation.