summaryrefslogtreecommitdiff
path: root/src/systty.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-09-07 01:46:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-09-07 01:46:44 -0700
commit1a4f1e9b4805cd80952946b5f4461eeb467d9509 (patch)
tree6f17957b784b3706a8bebe22c40475f5c8201af2 /src/systty.h
parentc640e87d077ae51c922b703f4b44f05dfb0d1cfd (diff)
downloademacs-1a4f1e9b4805cd80952946b5f4461eeb467d9509.tar.gz
More signal-handler cleanup.
* configure.ac (FLOAT_CHECK_DOMAIN): Comment fix (Bug#12327). * src/floatfns.c: Comment fix. * src/lisp.h (force_auto_save_soon): Declare regardless of SIGDANGER. SIGDANGER might not be in scope so "#ifdef SIGDANGER" is not right, and anyway the declaration is harmless even if SIGDANGER is not defined. * src/syssignal.h (SIGIO): Also #undef if (! defined FIONREAD || defined BROKEN_FIONREAD). systty.h formerly did this, but other source files not surprisingly expected syssignal.h to define, or not define, SIGIO, and it's cleaner to do it that way, for consistency. Include <sys/ioctl.h>, for FIONREAD. * src/systty.h (SIGIO): Do not #undef here; it's now syssignal.h's job. This eliminates a problem whereby other files mysteriously had to include "syssignal.h" before including "systty.h" if they wanted to use "#ifdef SIGIO".
Diffstat (limited to 'src/systty.h')
-rw-r--r--src/systty.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/systty.h b/src/systty.h
index ae98f123f2a..b660441a91e 100644
--- a/src/systty.h
+++ b/src/systty.h
@@ -47,11 +47,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#undef ASYNC
#endif
-/* Interrupt input is not used if there is no FIONREAD. */
-#ifndef FIONREAD
-#undef SIGIO
-#endif
-
/* Try to establish the correct character to disable terminal functions
in a system-independent manner. Note that USG (at least) define