unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#1858: cleanup: POLL_FOR_INPUT
@ 2009-01-11 17:30 Dan Nicolaescu
  2011-07-10 14:52 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2009-01-11 17:30 UTC (permalink / raw)
  To: bug-gnu-emacs


POLL_FOR_INPUT is defined in both process.c and keyboard.c, but not
exactly the same way:


keyboard.c:
/* If we support a window system, turn on the code to poll periodically
   to detect C-g.  It isn't actually used when doing interrupt input.
   */
#ifdef HAVE_WINDOW_SYSTEM
#define POLL_FOR_INPUT
#endif


process.c:
/* If we support a window system, turn on the code to poll periodically
   to detect C-g.  It isn't actually used when doing interrupt input.
   */
#if defined(HAVE_WINDOW_SYSTEM) && !defined(USE_ASYNC_EVENTS)
#define POLL_FOR_INPUT
#endif

keyboard.h has an #ifdef POLL_FOR_INPUT, but keyboard.h is included
before POLL_FOR_INPUT is defined...

The above is messy...







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-16 18:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-11 17:30 bug#1858: cleanup: POLL_FOR_INPUT Dan Nicolaescu
2011-07-10 14:52 ` Lars Magne Ingebrigtsen
2011-07-16 18:31   ` Lars Magne Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).