summaryrefslogtreecommitdiff
path: root/src/=x11term.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-01-13 22:04:23 +0000
committerJim Blandy <jimb@redhat.com>1992-01-13 22:04:23 +0000
commit31fe8ae4d9ac80da34cf2d714ec5f6626c25ee9a (patch)
treef8f2127ad6d231db883844bf36b1fed70f78f271 /src/=x11term.h
parentbd5cd35fd8b585ad3d87f8be98b45a415fea22c0 (diff)
downloademacs-31fe8ae4d9ac80da34cf2d714ec5f6626c25ee9a.tar.gz
Initial revision
Diffstat (limited to 'src/=x11term.h')
-rw-r--r--src/=x11term.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/=x11term.h b/src/=x11term.h
new file mode 100644
index 00000000000..c6f24ba91eb
--- /dev/null
+++ b/src/=x11term.h
@@ -0,0 +1,23 @@
+#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() BLOCK_INPUT_mask = sigblock (sigmask (SIGIO))
+#define UNBLOCK_INPUT() sigsetmask (BLOCK_INPUT_mask)
+#else /* not SIGIO */
+#define BLOCK_INPUT()
+#define UNBLOCK_INPUT()
+#endif /* SIGIO */
+
+#define CLASS "emacs" /* class id for GNU Emacs, used in .Xdefaults, etc. */