view src/=x11term.h @ 2992:8c74c4712164

Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>. * m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're using GCC. (NEED_SIOCTL): Move this to... * s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not necessary in irix4-0.h. * s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0 already declares this elsewhere. (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it. * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h, s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
author Jim Blandy <jimb@redhat.com>
date Sun, 23 May 1993 22:30:42 +0000
parents ce011f7cd03f
children
line wrap: on
line source

#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/cursorfont.h>
#include <X11/Xutil.h>
#include <X11/X10.h>

#define XMOUSEBUFSIZE 64

#ifndef sigmask
#define sigmask(no) (1L << ((no) - 1))
#endif

#define BLOCK_INPUT_DECLARE() int BLOCK_INPUT_mask
#ifdef SIGIO
#define BLOCK_INPUT() EMACS_SIGBLOCKX (SIGIO, BLOCK_INPUT_mask)
#define UNBLOCK_INPUT() \
  do { int _dummy; EMACS_SIGSETMASK (BLOCK_INPUT_mask, _dummy); } while (0)
#else /* not SIGIO */
#define BLOCK_INPUT()
#define UNBLOCK_INPUT()
#endif /* SIGIO */

#define CLASS  "Emacs"	/* class id for GNU Emacs, used in .Xdefaults, etc. */