From: Ken Raeburn Date: Fri, 30 Dec 2016 22:51:35 +0000 (-0500) Subject: Don't call xg_select for a NextStep build. X-Git-Tag: emacs-26.0.90~984 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53d5bd786130a937a0e691e0c470675fe9c55485;p=emacs.git Don't call xg_select for a NextStep build. NextStep builds use glib but don't use xg_select. * src/process.c (wait_reading_process_output): Don't call xg_select for a NextStep build. --- diff --git a/src/process.c b/src/process.c index c0c52c232b9..0d88b2ce285 100644 --- a/src/process.c +++ b/src/process.c @@ -5341,8 +5341,8 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, } #endif -/* HAVE_GLIB builds call thread_select in xgselect.c. */ -#ifdef HAVE_GLIB +/* Non-macOS HAVE_GLIB builds call thread_select in xgselect.c. */ +#if defined HAVE_GLIB && !defined HAVE_NS nfds = xg_select (max_desc + 1, &Available, (check_write ? &Writeok : 0), NULL, &timeout, NULL);