From: Kim F. Storm Date: Mon, 31 Mar 2003 20:41:41 +0000 (+0000) Subject: Fix compilation for --with-x=no. X-Git-Tag: ttn-vms-21-2-B4~10697 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2731a0ade1c67811317ff9bb961999c50e352e7c;p=emacs.git Fix compilation for --with-x=no. --- diff --git a/src/frame.c b/src/frame.c index db38075aa3e..c96f350a87f 100644 --- a/src/frame.c +++ b/src/frame.c @@ -51,6 +51,8 @@ Boston, MA 02111-1307, USA. */ #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_name; Lisp_Object Vx_resource_class; +#endif Lisp_Object Qframep, Qframe_live_p; Lisp_Object Qicon, Qmodeline; @@ -3987,6 +3990,7 @@ syms_of_frame () } } +#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 @@ Setting this variable permanently is not a reasonable thing to do, 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.